Unverified Commit 6f37eac4 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Avoid PHP errors in the checkers drone step


Signed-off-by: default avatarCôme Chilliet <come.chilliet@nextcloud.com>
parent 87115d8b
......@@ -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());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment