parse max iterations value correctly
This commit is contained in:
parent
21456bb3cb
commit
1ffa48ced6
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue