Skip to content

Commit

Permalink
Fix a few minor bugs
Browse files Browse the repository at this point in the history
1. Make sure function apps get the right settings uploaded
1. Fix 'cannot get subscription of undefined' error when the subscription is pre-selected
  • Loading branch information
ejizba committed Nov 8, 2017
1 parent 45917bb commit f071bfb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion appservice/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vscode-azureappservice",
"author": "Microsoft Corporation",
"version": "0.3.1",
"version": "0.3.2",
"description": "Common tools for developing Azure App Service extensions for VS Code",
"tags": [
"azure",
Expand Down
1 change: 1 addition & 0 deletions appservice/src/createAppService/SiteStep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export class SiteStep extends WizardStep {
switch (this._appKind) {
case AppKind.functionapp:
this._website.siteConfig = await this.getFunctionAppSiteConfig(this._website.siteConfig.linuxFxVersion);
break;
case AppKind.app:
default:
this._website.siteConfig = { linuxFxVersion: this._website.siteConfig.linuxFxVersion };
Expand Down
2 changes: 1 addition & 1 deletion appservice/src/createAppService/SubscriptionStep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class SubscriptionStep extends WizardStep {
}

public async execute(): Promise<void> {
this.wizard.writeline(localize('UsingSubscription', 'Using Subscription "{0} ({1})".', this._subscriptionFilter.subscription.displayName, this._subscriptionFilter.subscription.subscriptionId));
this.wizard.writeline(localize('UsingSubscription', 'Using Subscription "{0} ({1})".', this.subscription.displayName, this.subscription.subscriptionId));
}

private async getSubscriptionsAsQuickPickItems(): Promise<IQuickPickItemWithData<AzureResourceFilter>[]> {
Expand Down

0 comments on commit f071bfb

Please sign in to comment.