Browse Source
Avoid PHP errors in the checkers drone step
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/31309/head
Côme Chilliet
4 years ago
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
1 changed files with
1 additions and
1 deletions
-
build/triple-dot-checker.php
|
|
|
@ -32,7 +32,7 @@ foreach ($directories as $dir) { |
|
|
|
$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()); |
|
|
|
|