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 committed Feb 21, 2022
1 parent 87115d8 commit 6f37eac
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 6f37eac

Please sign in to comment.