1
0
Fork 0
mirror of synced 2024-09-10 14:35:47 +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 ( if (
index === parseInt(env.AUTOMATION_MAX_ITERATIONS) || index === parseInt(env.AUTOMATION_MAX_ITERATIONS) ||
index === loopStep.inputs.iterations index === parseInt(loopStep.inputs.iterations)
) { ) {
this.updateContextAndOutput(loopStepNumber, step, tempOutput, { this.updateContextAndOutput(loopStepNumber, step, tempOutput, {
status: AutomationErrors.MAX_ITERATIONS, status: AutomationErrors.MAX_ITERATIONS,