Exclude .git in MD_STD::scandir
This commit is contained in:
1 parent
8513458904
commit
00fcc997ce
1 file changed
+1
-1
+1
-1
@@ -63,7 +63,7 @@ public static function scandir(string $filepath):array {
|
|||||||
throw new MDFileDoesNotExist("There is no file {$filepath}");
|
throw new MDFileDoesNotExist("There is no file {$filepath}");
|
||||||
}
|
}
|
||||||
|
|
||||||
return array_values(array_diff($output, ['.', '..']));
|
return array_values(array_diff($output, ['.', '..', '.git']));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user