Skip to content

Commit 517e5a5

Browse files
come-ncbackportbot[bot]
authored andcommitted
Avoid PHP errors in the checkers drone step
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent 1288f33 commit 517e5a5

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)