Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweininger committed Oct 3, 2024
1 parent 43fc2d2 commit a9d3bed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands/accounts/selectSubscriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ext } from "../../extensionVariables";
import { localize } from "../../utils/localize";
import { settingUtils } from "../../utils/settingUtils";

interface SelectSubscriptionOptions {
export interface SelectSubscriptionOptions {
/**
* If provided, only subscriptions in this tenant will be shown in the picker. Only subscriptions shown in the picker will be removed or added to the selected subscriptions setting.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/commands/registerCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { BranchDataItemWrapper } from '../tree/BranchDataItemWrapper';
import { ResourceGroupsItem } from '../tree/ResourceGroupsItem';
import { GroupingItem } from '../tree/azure/grouping/GroupingItem';
import { logIn } from './accounts/logIn';
import { selectSubscriptions } from './accounts/selectSubscriptions';
import { SelectSubscriptionOptions, selectSubscriptions } from './accounts/selectSubscriptions';
import { clearActivities } from './activities/clearActivities';
import { maintainCloudShellConnection } from './cloudShell';
import { createResource } from './createResource';
Expand Down Expand Up @@ -67,7 +67,7 @@ export function registerCommands(): void {
registerCommand('azureResourceGroups.unfocusGroup', unfocusGroup);

registerCommand('azureResourceGroups.logIn', (context: IActionContext) => logIn(context));
registerCommand('azureResourceGroups.selectSubscriptions', (context: IActionContext) => selectSubscriptions(context));
registerCommand('azureResourceGroups.selectSubscriptions', (context: IActionContext, options: SelectSubscriptionOptions) => selectSubscriptions(context, options));
registerCommand('azureResourceGroups.signInToTenant', async () => signInToTenant(await ext.subscriptionProviderFactory()));

registerCommand('azureResourceGroups.createResourceGroup', createResourceGroup);
Expand Down

0 comments on commit a9d3bed

Please sign in to comment.