Skip to content

Commit

Permalink
fix: remove unnecessary !!
Browse files Browse the repository at this point in the history
Co-Authored-By: Cole Bemis <colebemis@github.com>
  • Loading branch information
shawnbot and colebemis committed Sep 5, 2019
1 parent de8993e commit 29bcf19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/no-override.js
Expand Up @@ -22,7 +22,7 @@ module.exports = stylelint.createPlugin(ruleName, (enabled, options = {}) => {
continue
}
const stats = requirePrimerFile(`dist/stats/${bundle}.json`)
const selectors = stats.selectors.values.filter(selector => !!CLASS_PATTERN.test(selector))
const selectors = stats.selectors.values.filter(selector => CLASS_PATTERN.test(selector))
for (const selector of selectors) {
immutableSelectors.set(selector, bundle)
for (const classSelector of getClassSelectors(selector)) {
Expand Down

0 comments on commit 29bcf19

Please sign in to comment.