Merge pull request #576 from automatisch/fix/use-cloned-step
fix: Do not use mutated step for global variables of actions
This commit is contained in:
@@ -102,13 +102,14 @@ class Processor {
|
|||||||
priorExecutionSteps
|
priorExecutionSteps
|
||||||
);
|
);
|
||||||
|
|
||||||
step.parameters = computedParameters;
|
const clonedStep = Object.assign({}, step);
|
||||||
|
clonedStep.parameters = computedParameters;
|
||||||
|
|
||||||
const $ = await globalVariable(
|
const $ = await globalVariable(
|
||||||
step.connection,
|
step.connection,
|
||||||
app,
|
app,
|
||||||
this.flow,
|
this.flow,
|
||||||
step,
|
clonedStep
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!isTrigger && key) {
|
if (!isTrigger && key) {
|
||||||
|
Reference in New Issue
Block a user