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
|
||||
);
|
||||
|
||||
step.parameters = computedParameters;
|
||||
const clonedStep = Object.assign({}, step);
|
||||
clonedStep.parameters = computedParameters;
|
||||
|
||||
const $ = await globalVariable(
|
||||
step.connection,
|
||||
app,
|
||||
this.flow,
|
||||
step,
|
||||
clonedStep
|
||||
);
|
||||
|
||||
if (!isTrigger && key) {
|
||||
|
Reference in New Issue
Block a user