From 5e409b4c4e1e3c3b541d273e86cd57adfb5ae001 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 25 May 2020 02:25:25 -0400 Subject: [PATCH] Removes help link until it exists --- src/git/remotes/github.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/git/remotes/github.ts b/src/git/remotes/github.ts index e9af95e..8d50e78 100644 --- a/src/git/remotes/github.ts +++ b/src/git/remotes/github.ts @@ -73,6 +73,7 @@ export class GitHubRemote extends RemoteProviderWithApi<{ token: string }> { input.onDidHide(() => resolve(undefined)), input.onDidTriggerButton(e => { if (e === this.Buttons.Help) { + // TODO@eamodio link to proper wiki void env.openExternal(Uri.parse('https://github.com/eamodio/vscode-gitlens/wiki')); } }), @@ -86,7 +87,8 @@ export class GitHubRemote extends RemoteProviderWithApi<{ token: string }> { input.onDidAccept(() => resolve(input.value)), ); - input.buttons = [this.Buttons.Help]; + // TODO@eamodio add this button once we have a valid help link above + // input.buttons = [this.Buttons.Help]; input.title = `Connect to ${this.name}`; input.prompt = 'Enter a GitHub personal access token'; input.placeholder = 'Generate a personal access token from github.com (required)';