mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 20:00:15 +10:00
fix(1.61): update github authentication patch (#866)
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
diff --git a/extensions/github-authentication/src/githubServer.ts b/extensions/github-authentication/src/githubServer.ts
|
diff --git a/extensions/github-authentication/src/githubServer.ts b/extensions/github-authentication/src/githubServer.ts
|
||||||
index 3d36081..5bac245 100644
|
index 8424f5b..5bac245 100644
|
||||||
--- a/extensions/github-authentication/src/githubServer.ts
|
--- a/extensions/github-authentication/src/githubServer.ts
|
||||||
+++ b/extensions/github-authentication/src/githubServer.ts
|
+++ b/extensions/github-authentication/src/githubServer.ts
|
||||||
@@ -6,8 +6,6 @@
|
@@ -6,8 +6,6 @@
|
||||||
@@ -212,11 +212,14 @@ index 3d36081..5bac245 100644
|
|||||||
private async manuallyProvideUri() {
|
private async manuallyProvideUri() {
|
||||||
const uri = await vscode.window.showInputBox({
|
const uri = await vscode.window.showInputBox({
|
||||||
prompt: 'Uri',
|
prompt: 'Uri',
|
||||||
@@ -290,41 +159,7 @@ export class GitHubServer implements IGitHubServer {
|
@@ -290,44 +159,7 @@ export class GitHubServer implements IGitHubServer {
|
||||||
return getUserInfo(token, this.getServerUri('/user'), this._logger);
|
return getUserInfo(token, this.getServerUri('/user'), this._logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
- public async sendAdditionalTelemetryInfo(token: string): Promise<void> {
|
- public async sendAdditionalTelemetryInfo(token: string): Promise<void> {
|
||||||
|
- if (!vscode.env.isTelemetryEnabled) {
|
||||||
|
- return;
|
||||||
|
- }
|
||||||
- const nocors = await this.isNoCorsEnvironment();
|
- const nocors = await this.isNoCorsEnvironment();
|
||||||
-
|
-
|
||||||
- if (nocors) {
|
- if (nocors) {
|
||||||
|
|||||||
Reference in New Issue
Block a user