Skip to content

Commit

Permalink
Don't return when updating declaration important
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Aug 28, 2020
1 parent 5974f24 commit 44dbde8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/flagged/applyComplexClasses.js
Expand Up @@ -250,7 +250,9 @@ function processApplyAtRules(css, lookupTree, config) {
]

const { nodes } = _.tap(postcss.root({ nodes: rulesToInsert }), root =>
root.walkDecls(d => (d.important = important))
root.walkDecls(d => {
d.important = important
})
)

const mergedRules = mergeAdjacentRules(rule, nodes)
Expand Down

0 comments on commit 44dbde8

Please sign in to comment.