fix(core): update
This commit is contained in:
@ -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]);
|
||||
|
Reference in New Issue
Block a user