refactor(run_path): avoid carrying return_code across iterations (#2552)
Limit return_code to the per-script failure path instead of keeping it as loop state. This does not change current behavior, but makes the code easier to reason about and avoids future stale-state bugs if the loop logic is refactored. Signed-off-by: Josh <josh.t.richards@gmail.com>pull/2556/head
parent
1b37fe5a13
commit
00c48574fe
Loading…
Reference in new issue