diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-02-21 18:21:38 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-02-21 18:21:38 +0100 |
commit | 6f37eac47043a2296164606be5579612e86b86d6 (patch) | |
tree | efff737ae073c6d7da7beee687319450eea330f2 /build/triple-dot-checker.php | |
parent | 87115d8b1ca79880430d37b45167f260547daa41 (diff) | |
download | nextcloud-server-6f37eac47043a2296164606be5579612e86b86d6.tar.gz nextcloud-server-6f37eac47043a2296164606be5579612e86b86d6.zip |
Avoid PHP errors in the checkers drone step
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'build/triple-dot-checker.php')
-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()); |