Skip to content

Commit

Permalink
Fix not setting context right in AzureWizard during skip execute
Browse files Browse the repository at this point in the history
  • Loading branch information
MRayermannMSFT committed Feb 9, 2024
1 parent dd91e33 commit 6ffc392
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions utils/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@microsoft/vscode-azext-utils",
"author": "Microsoft Corporation",
"version": "2.3.0",
"version": "2.3.1",
"description": "Common UI tools for developing Azure extensions for VS Code",
"tags": [
"azure",
Expand Down
2 changes: 1 addition & 1 deletion utils/src/wizard/AzureWizard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class AzureWizard<T extends (IInternalActionContext & Partial<types.Execu
if (options.skipExecute === true) {
this._executeSteps.splice(0);
this._executeSteps.push(new NoExecuteStep());
context = { ...context, ...getSilentExecuteActivityContext() };
this._context = { ...this._context, ...getSilentExecuteActivityContext() };
}
}

Expand Down

0 comments on commit 6ffc392

Please sign in to comment.