chore: lower debug to trace for packagePatterns

This commit is contained in:
Rhys Arkins 2018-03-20 07:11:56 +01:00
parent 2364efdb39
commit b4bfb35418

View file

@ -73,7 +73,7 @@ function getDepConfig(depTypeConfig, dep) {
); );
applyRule = true; applyRule = true;
} else if (packageRule.packagePatterns) { } else if (packageRule.packagePatterns) {
logger.debug({ dependency }, 'Checking against packagePatterns'); logger.trace({ dependency }, 'Checking against packagePatterns');
for (const packagePattern of packageRule.packagePatterns) { for (const packagePattern of packageRule.packagePatterns) {
const packageRegex = new RegExp( const packageRegex = new RegExp(
packagePattern === '^*$' || packagePattern === '*' packagePattern === '^*$' || packagePattern === '*'