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:
Ömer Faruk Aydın
2022-10-08 21:24:54 +03:00
committed by GitHub

View File

@@ -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) {