Remove short-circuit logic

This commit is contained in:
Andrew Henry 2025-01-27 17:50:59 -08:00
parent 3ae9d121a1
commit 27f74bf58a

View File

@ -421,10 +421,8 @@ export default class ConditionManager extends EventEmitter {
updateConditionResults(normalizedDatum) {
//We want to stop when the first condition evaluates to true.
this.conditions.some((condition) => {
this.conditions.forEach((condition) => {
condition.updateResult(normalizedDatum);
return condition.result === true;
});
}