Skip to content

Commit

Permalink
Merge pull request #31314 from nextcloud/backport/31309/stable22
Browse files Browse the repository at this point in the history
[stable22] Avoid PHP errors in the checkers drone step
  • Loading branch information
come-nc authored Feb 24, 2022
2 parents 0e57419 + eb0a10a commit c31e958
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 c31e958

Please sign in to comment.