Skip to content

Commit d79dc5c

Browse files
committed
fixed bug on setted exludes
1 parent c214cc1 commit d79dc5c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/options/selectorLibrary.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ class SelectorLibrary {
7777

7878
options = _.merge(optionsDefault, options);
7979

80+
// fail on setted exludes
81+
if (this.contains.call(this.excludes, matchedSelector)) {
82+
return selector;
83+
}
84+
8085
// change the objects if origValues are set to false - to get information about the compressed selectors
8186
if (!options.origValues) {
8287
result = this.compressedSelectors[matchedSelector];

0 commit comments

Comments
 (0)