Simplify apply handling

Pulling from perParentApplies here is unncessary as it’s never going to get any value
This commit is contained in:
Jordan Pittman 2022-04-26 14:27:28 -04:00
parent 1cc1ace142
commit e010788574

View file

@ -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])