mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
add a comment for session.scopes (#151050)
This commit is contained in:
parent
445d4aad1b
commit
15253f1528
|
@ -180,6 +180,8 @@ export class GitHubAuthenticationProvider implements vscode.AuthenticationProvid
|
|||
: userInfo?.accountName ?? '<unknown>',
|
||||
id: session.account?.id ?? userInfo?.id ?? '<unknown>'
|
||||
},
|
||||
// we set this to session.scopes to maintain the original order of the scopes requested
|
||||
// by the extension that called getSession()
|
||||
scopes: session.scopes,
|
||||
accessToken: session.accessToken
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue