Exclude .git in MD_STD::scandir

This commit is contained in:
Joshua Ramon Enslin 2020-08-07 18:32:44 +02:00 committed by Stefan Rohde-Enslin
parent 8513458904
commit 00fcc997ce

View File

@ -63,7 +63,7 @@ class MD_STD {
throw new MDFileDoesNotExist("There is no file {$filepath}");
}
return array_values(array_diff($output, ['.', '..']));
return array_values(array_diff($output, ['.', '..', '.git']));
}