diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2022-02-24 11:54:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-24 11:54:05 +0300 |
commit | c31e9583cd2bfd89d2667f5cf0826419cf361cba (patch) | |
tree | 7c8fb7bb2ad96a00e1cbc073d52883afa1c82220 | |
parent | 0e57419a4d21c6bff5cbbfcceb09ac7bde88ee7b (diff) | |
parent | eb0a10ae01373c47d769df188b9d58105206e238 (diff) |
Merge pull request #31314 from nextcloud/backport/31309/stable22
[stable22] Avoid PHP errors in the checkers drone step
-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()); |