Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2022-02-24 11:54:05 +0300
committerGitHub <noreply@github.com>2022-02-24 11:54:05 +0300
commitc31e9583cd2bfd89d2667f5cf0826419cf361cba (patch)
tree7c8fb7bb2ad96a00e1cbc073d52883afa1c82220
parent0e57419a4d21c6bff5cbbfcceb09ac7bde88ee7b (diff)
parenteb0a10ae01373c47d769df188b9d58105206e238 (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.php2
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());