diff --git a/appservice/package.json b/appservice/package.json index 545e624ca2..3b0f782e63 100644 --- a/appservice/package.json +++ b/appservice/package.json @@ -1,7 +1,7 @@ { "name": "vscode-azureappservice", "author": "Microsoft Corporation", - "version": "0.7.1", + "version": "0.7.2", "description": "Common tools for developing Azure App Service extensions for VS Code", "tags": [ "azure", diff --git a/appservice/src/createAppService/StorageAccountStep.ts b/appservice/src/createAppService/StorageAccountStep.ts index d737034ebe..bb9f2e8a7b 100644 --- a/appservice/src/createAppService/StorageAccountStep.ts +++ b/appservice/src/createAppService/StorageAccountStep.ts @@ -58,16 +58,16 @@ export class StorageAccountStep extends WizardStep { let newAccountName: string; newAccountName = await this.showInputBox({ value: suggestedName, - prompt: 'Enter the name of the new storage account.', - validateInput: async (value: string): Promise => { - value = value ? value.trim() : ''; - const nameAvailabilityResult: CheckNameAvailabilityResult = await storageClient.storageAccounts.checkNameAvailability(newAccountName); - if (!nameAvailabilityResult.nameAvailable) { - return nameAvailabilityResult.message; - } - return undefined; + prompt: 'Enter the name of the new storage account.', + validateInput: async (value: string): Promise => { + value = value ? value.trim() : ''; + const nameAvailabilityResult: CheckNameAvailabilityResult = await storageClient.storageAccounts.checkNameAvailability(value); + if (!nameAvailabilityResult.nameAvailable) { + return nameAvailabilityResult.message; } - }); + return undefined; + } + }); this._account = { name: newAccountName.trim(),