Browse Source

Removes help link until it exists

main
Eric Amodio 4 years ago
parent
commit
5e409b4c4e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/git/remotes/github.ts

+ 3
- 1
src/git/remotes/github.ts View File

@ -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)';

Loading…
Cancel
Save