Unverified Commit cb621f37 authored by Côme Chilliet's avatar Côme Chilliet Committed by GitHub
Browse files

Merge pull request #31309 from nextcloud/fix/fix-checkers-php-error

Avoid PHP errors in the checkers drone step
parents 5b565a47 6f37eac4
......@@ -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()) {
$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