Use getPathname

This commit is contained in:
Gabriel Caruso 2018-01-02 15:18:41 -02:00
parent 6d90b516bb
commit 1c85a47f66

View File

@ -161,7 +161,7 @@ final class ProcessCommand extends Command
} catch (Throwable $throwable) {
$this->consoleStyle->newLine();
throw new FileProcessingException(
sprintf('Processing of "%s" file failed.', $fileInfo->getRelativePathname()),
sprintf('Processing of "%s" file failed.', $fileInfo->getPathname()),
$throwable->getCode(),
$throwable
);