From e01078857472eee864e8dd3f3bd6d1abe33658e8 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Tue, 26 Apr 2022 14:27:28 -0400 Subject: [PATCH] Simplify apply handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pulling from perParentApplies here is unncessary as it’s never going to get any value --- src/lib/expandApplyAtRules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/expandApplyAtRules.js b/src/lib/expandApplyAtRules.js index 94d26b354..74b022ed1 100644 --- a/src/lib/expandApplyAtRules.js +++ b/src/lib/expandApplyAtRules.js @@ -309,7 +309,7 @@ function processApply(root, context, localCache) { // Collect all apply candidates and their rules for (let apply of applies) { - let candidates = perParentApplies.get(apply.parent) || [] + let candidates = [] perParentApplies.set(apply.parent, [candidates, apply.source])