Skip to content
Open
36 changes: 24 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/ruleset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"lodash": "^4.17.23",
"loglevel": "^1.9.2",
"loglevel-plugin-prefix": "0.8.4",
"minimatch": "^6.2.0",
"minimatch": "^10.2.2",
"validator": "^13.15.23"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ruleset/src/utils/logger-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ module.exports = class LoggerFactory {
// If the name of the logger matches the (potential) glob-pattern
// previously-specified via the command-line, then apply the
// specified log level to that logger.
if (minimatch(name, setting.loggerName)) {
if (minimatch.minimatch(name, setting.loggerName)) {
logger.setLevel(setting.logLevel);
}
}
Expand Down