parse max iterations value correctly

This commit is contained in:
Peter Clement 2022-05-19 16:38:16 +01:00
parent b8bd09d4ce
commit 4c77cf2516
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,