Skip to content

Commit f0b4b5e

Browse files
committed
Fix files not found error message
1 parent d339425 commit f0b4b5e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/IrreversibleMigrationsValidator.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ public function __invoke(
3939
$filesCount = count($filePathList);
4040

4141
if ($filesCount === 0) {
42-
$implodedFilePaths = implode(',', $filePathList);
43-
$this->printLine("No migration files found in paths `$implodedFilePaths`");
42+
$this->printLine("No migration files found in paths:");
43+
foreach ($inputPaths as $inputPath) {
44+
$this->printLine('- ' . $inputPath);
45+
}
4446

4547
return self::EXIT_CODE_ERROR;
4648
}

0 commit comments

Comments
 (0)