Browse Source

Avoid PHP errors in the checkers drone step

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
tags/v24.0.0beta1
Côme Chilliet 2 years ago
parent
commit
6f37eac470
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      build/triple-dot-checker.php

+ 1
- 1
build/triple-dot-checker.php View File

@@ -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());

Loading…
Cancel
Save