fix(core): update

This commit is contained in:
2023-07-12 19:59:28 +02:00
parent 9e343aab84
commit 17be38125f
5 changed files with 40 additions and 49 deletions

View File

@ -13,7 +13,7 @@ export let forEachMinimatch = async (
) => {
let propertyNames = Object.getOwnPropertyNames(parentObjectArg);
let propertyNamesMatched = propertyNames.filter((propertyNameArg) => {
return plugins.minimatch(propertyNameArg, wildcardArg);
return plugins.minimatch.minimatch(propertyNameArg, wildcardArg);
});
for (let propertyNameArg of propertyNamesMatched) {
await callbackArg(parentObjectArg[propertyNameArg]);