Skip to content

Commit

Permalink
use better name
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Dec 17, 2021
1 parent b8f010a commit e8e64f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/expandApplyAtRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ function processApply(root, context) {
// would have replaced this with something that didn't exist and
// therefore it removed the selector altogether. In this specific
// case it would result in `{}` instead of `.something-unrelated {}`
if (!extractClasses(rule).some((thing) => thing === applyCandidate)) {
if (!extractClasses(rule).some((candidate) => candidate === applyCandidate)) {
rule.remove()
return
}
Expand Down

0 comments on commit e8e64f0

Please sign in to comment.