We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20f3da7 commit bb5995dCopy full SHA for bb5995d
lib/utils.js
@@ -74,6 +74,8 @@ class ModClean_Utils extends EventEmitter {
74
patterns = uniq(patterns);
75
ignore = uniq(ignore);
76
77
+ patterns = patterns.filter(pat => ignore.indexOf(pat) === -1);
78
+
79
if(!patterns.length) throw new Error('No patterns have been loaded, nothing to check against');
80
81
return {
0 commit comments