mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 12:47:14 +00:00
don't sort scope list. Fixes Microsoft/vscode-pull-request-github#2751
This commit is contained in:
@@ -198,7 +198,7 @@ export class GitHubAuthenticationProvider implements vscode.AuthenticationProvid
|
||||
*/
|
||||
this.telemetryReporter?.sendTelemetryEvent('login');
|
||||
|
||||
const token = await this._githubServer.login(scopes.sort().join(' '));
|
||||
const token = await this._githubServer.login(scopes.join(' '));
|
||||
this.afterTokenLoad(token);
|
||||
const session = await this.tokenToSession(token, scopes);
|
||||
await this.setToken(session);
|
||||
|
||||
Reference in New Issue
Block a user