Skip to content

Commit

Permalink
Fix build and PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
nturinski committed Aug 6, 2024
1 parent 0922d63 commit 8b584a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion auth/src/AzureAuthentication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import type * as vscode from 'vscode';
export interface AzureAuthentication {
/**
* Gets a VS Code authentication session for an Azure subscription.
* Always uses the default scope, `https://management.azure.com/.default/.default.`
* Always uses the default scope, `https://management.azure.com/.default/` and respects `managementEndpointUrl` from the configured Azure environment.
*
* @returns A VS Code authentication session or undefined, if none could be obtained.
*/
Expand Down
2 changes: 1 addition & 1 deletion auth/src/AzureDevOpsSubscriptionProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class AzureDevOpsSubscriptionProvider implements AzureSubscriptionProvide
}

const accessToken = (await this._tokenCredential?.getToken("https://management.azure.com/.default"))?.token || '';
const getSession = (_scopes: string[] | undefined) => {
const getSession = () => {
return {
accessToken,
id: this._tokenCredential?.tenantId || '',
Expand Down

0 comments on commit 8b584a5

Please sign in to comment.