diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-02-21 20:21:38 +0300 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-02-21 20:21:38 +0300 |
commit | 6f37eac47043a2296164606be5579612e86b86d6 (patch) | |
tree | efff737ae073c6d7da7beee687319450eea330f2 | |
parent | 87115d8b1ca79880430d37b45167f260547daa41 (diff) |
Avoid PHP errors in the checkers drone step
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r-- | build/triple-dot-checker.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/triple-dot-checker.php b/build/triple-dot-checker.php index fa5edfcd5ee..15985a0a95c 100644 --- a/build/triple-dot-checker.php +++ b/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()); |