fix: No-op varCounter assignment before false branch in processExecIf (#655)

This commit is contained in:
openhands 2026-03-15 05:27:09 +00:00
parent b4720e6f5c
commit 38c476f71e

View file

@ -254,7 +254,6 @@ function processExecIf(
// --- Simulate FALSE branch ---
const falseState = makeSubState(state);
state.varCounter = falseState.varCounter; // will be updated after false branch too
processItems(toItems(falseBranch), falseState);
state.varCounter = falseState.varCounter;