fix(resolve): continue handling state values after removal
This commit is contained in:
parent
b18d6f340e
commit
3a3facb282
|
@ -143,9 +143,10 @@ export function resolveLabels(options: ResolveInput): ResolveResult {
|
|||
};
|
||||
|
||||
if (checkLabelRules(combinedValue)) {
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
let removed = false;
|
||||
for (const become of value.becomes) {
|
||||
if (become.matches.every((l) => activeLabels.has(l.name))) {
|
||||
checkLabelRules({
|
||||
|
@ -161,12 +162,17 @@ export function resolveLabels(options: ResolveInput): ResolveResult {
|
|||
effect: ChangeVerb.REMOVED,
|
||||
label: name,
|
||||
});
|
||||
removed = true;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (removed) {
|
||||
continue;
|
||||
}
|
||||
|
||||
activeValue = name;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue