Added filter for .git directories
This commit is contained in:
parent
bf12eb7b50
commit
30f09e282d
@ -198,6 +198,10 @@ class Manifest
|
||||
log_warn("Unsupported source type: %s", $source->type);
|
||||
}
|
||||
}
|
||||
$items = array_filter($items, function ($item) {
|
||||
if (fnmatch("*/.git/*", $item->src)) return false;
|
||||
return true;
|
||||
});
|
||||
return $items;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user