Skip to content

Commit

Permalink
Avoid PHP errors in the checkers drone step
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc authored and backportbot[bot] committed Feb 22, 2022
1 parent 400c0bf commit eb0a10a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/triple-dot-checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
$it = new \RecursiveDirectoryIterator($dir);

foreach (new RecursiveIteratorIterator($it) as $file) {
if ($file->getExtension() === 'map') {
if (($file->getExtension() === 'map') || $file->isDir()) {
continue;
}
$content = file_get_contents($file->getPathname());
Expand Down

0 comments on commit eb0a10a

Please sign in to comment.