Skip to content

Commit ca94d18

Browse files
committed
Don't count directory as existing file
1 parent dbe6e58 commit ca94d18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Service/FileChecker.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ private function readDisk(array $config): array
7171
throw new Exception('Could not glob path: ' . $basePath);
7272
}
7373

74+
$filesFound = array_filter($filesFound, 'is_file');
75+
7476
$files = array_merge($files, $filesFound);
7577
}
7678

0 commit comments

Comments
 (0)