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
path: root/build
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2022-02-22 11:04:56 +0300
committerGitHub <noreply@github.com>2022-02-22 11:04:56 +0300
commitcb621f371f9dd9e4b61d1f02e858b6b7ac05ba7f (patch)
tree0d4bf39a46b766cf24b3d416193a275cf98ce5da /build
parent5b565a4726032628f2ca42d0e99f09709a04f910 (diff)
parent6f37eac47043a2296164606be5579612e86b86d6 (diff)
Merge pull request #31309 from nextcloud/fix/fix-checkers-php-error
Avoid PHP errors in the checkers drone step
Diffstat (limited to 'build')
-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());