diff options
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()); |