Skip to content

Commit 4911b23

Browse files
authored
Merge pull request #31313 from nextcloud/backport/31309/stable23
[stable23] Avoid PHP errors in the checkers drone step
2 parents 800e366 + 517e5a5 commit 4911b23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/triple-dot-checker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
$it = new \RecursiveDirectoryIterator($dir);
3333

3434
foreach (new RecursiveIteratorIterator($it) as $file) {
35-
if ($file->getExtension() === 'map') {
35+
if (($file->getExtension() === 'map') || $file->isDir()) {
3636
continue;
3737
}
3838
$content = file_get_contents($file->getPathname());

0 commit comments

Comments
 (0)