fix for looping issue wher output was incorrect
This commit is contained in:
parent
912163ec71
commit
90f3d28bb5
|
@ -419,7 +419,7 @@ class Orchestrator {
|
||||||
|
|
||||||
// Delete the step after the loop step as it's irrelevant, since information is included
|
// Delete the step after the loop step as it's irrelevant, since information is included
|
||||||
// in the loop step
|
// in the loop step
|
||||||
if (wasLoopStep) {
|
if (wasLoopStep && !loopStep) {
|
||||||
this._context.steps.splice(loopStepNumber + 1, 1)
|
this._context.steps.splice(loopStepNumber + 1, 1)
|
||||||
wasLoopStep = false
|
wasLoopStep = false
|
||||||
}
|
}
|
||||||
|
@ -438,8 +438,7 @@ class Orchestrator {
|
||||||
})
|
})
|
||||||
this._context.steps[loopStepNumber] = tempOutput
|
this._context.steps[loopStepNumber] = tempOutput
|
||||||
|
|
||||||
loopSteps = undefined
|
loopSteps = []
|
||||||
wasLoopStep = true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue