mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Avoid PHP errors in the checkers drone step
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
400c0bf304
commit
eb0a10ae01
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue