Skip to content

Commit

Permalink
Speed up check
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Feb 25, 2022
1 parent f41deba commit 98447c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function insertMixin(helpers, mixins, rule, opts) {
} else if (typeof mixin === 'function') {
let args = [rule].concat(params)
rule.walkAtRules(atRule => {
if (['add-mixin', 'mixin'].includes(atRule.name)) {
if (atRule.name === 'add-mixin' || atRule.name === 'mixin') {
insertMixin(helpers, mixins, atRule, opts)
}
})
Expand Down

0 comments on commit 98447c7

Please sign in to comment.