1
0
Fork 0
mirror of synced 2024-06-15 00:44:41 +12:00

parse max iterations value correctly

This commit is contained in:
Peter Clement 2022-05-19 16:38:16 +01:00
parent 21456bb3cb
commit 1ffa48ced6

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,