Skip to content

Commit

Permalink
fix: no-log breaks named response variable
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua-ola authored and AnWeber committed Nov 11, 2021
1 parent 41453c1 commit 8e39377
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/utils/httpRegionUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,10 @@ export async function processHttpRegionActions(context: models.ProcessorContext,
} finally {
if (!context.httpRegion.metaData.noLog) {
context.scriptConsole?.flush?.();
const newVariables = context.variables;
context.variables = variables;
autoShareNewVariables(newVariables, context);
}

const newVariables = context.variables;
context.variables = variables;
autoShareNewVariables(newVariables, context);
}
}
function initRegionScopedVariables(context: models.ProcessorContext) {
Expand Down

0 comments on commit 8e39377

Please sign in to comment.