1
0
Fork 0
mirror of synced 2024-08-09 15:17:57 +12:00

parse max iterations value correctly

This commit is contained in:
Peter Clement 2022-05-19 16:38:16 +01:00
parent b8bd09d4ce
commit 4c77cf2516

View file

@ -219,7 +219,7 @@ class Orchestrator {
}
if (
index === parseInt(env.AUTOMATION_MAX_ITERATIONS) ||
index === loopStep.inputs.iterations
index === parseInt(loopStep.inputs.iterations)
) {
this.updateContextAndOutput(loopStepNumber, step, tempOutput, {
status: AutomationErrors.MAX_ITERATIONS,