@microsoft/vscode-azext-utils
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -22,2 +22,3 @@ "use strict"; | ||
function runQuickPickWizard(context, wizardOptions, startingNode) { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -27,3 +28,3 @@ // Fill in the `pickedNodes` property | ||
wizardContext.pickedNodes = startingNode ? [startingNode] : []; | ||
const wizard = new AzureWizard_1.AzureWizard(wizardContext, Object.assign({ hideStepCount: true, showLoadingPrompt: true }, wizardOptions)); | ||
const wizard = new AzureWizard_1.AzureWizard(wizardContext, Object.assign({ hideStepCount: true, showLoadingPrompt: (_a = wizardOptions === null || wizardOptions === void 0 ? void 0 : wizardOptions.showLoadingPrompt) !== null && _a !== void 0 ? _a : true }, wizardOptions)); | ||
yield wizard.prompt(); | ||
@@ -30,0 +31,0 @@ const lastPickedItem = (0, getLastNode_1.getLastNode)(wizardContext); |
@@ -24,2 +24,4 @@ "use strict"; | ||
const showQuickPick_1 = require("../userInput/showQuickPick"); | ||
const NoExecuteStep_1 = require("./NoExecuteStep"); | ||
const SilentExecuteActivityContext_1 = require("./SilentExecuteActivityContext"); | ||
class AzureWizard { | ||
@@ -37,2 +39,7 @@ constructor(context, options) { | ||
this._cancellationTokenSource = new vscode.CancellationTokenSource(); | ||
if (options.skipExecute === true) { | ||
this._executeSteps.splice(0); | ||
this._executeSteps.push(new NoExecuteStep_1.NoExecuteStep()); | ||
context = Object.assign(Object.assign({}, context), (0, SilentExecuteActivityContext_1.getSilentExecuteActivityContext)()); | ||
} | ||
} | ||
@@ -39,0 +46,0 @@ getCachedInputBoxValue() { |
{ | ||
"name": "@microsoft/vscode-azext-utils", | ||
"author": "Microsoft Corporation", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "Common UI tools for developing Azure extensions for VS Code", | ||
@@ -6,0 +6,0 @@ "tags": [ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
425197
90
8264