parse max iterations value correctly

This commit is contained in:
Peter Clement 2022-05-19 16:38:16 +01:00
parent 21456bb3cb
commit 1ffa48ced6
1 changed files with 1 additions and 1 deletions

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,