Exclude .git in MD_STD::scandir
This commit is contained in:
parent
8513458904
commit
00fcc997ce
|
@ -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']));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user