Browse Source

Removes release notes from update notification

main
Eric Amodio 4 years ago
parent
commit
9b00935711
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      src/messages.ts

+ 1
- 3
src/messages.ts View File

@ -95,7 +95,7 @@ export class Messages {
}
static async showWhatsNewMessage(version: string) {
const actions: MessageItem[] = [{ title: "What's New" }, { title: 'Release Notes' }, { title: '❤' }];
const actions: MessageItem[] = [{ title: "What's New" }, { title: '❤ Sponsor' }];
const result = await Messages.showMessage(
'info',
@ -109,8 +109,6 @@ export class Messages {
if (result === actions[0]) {
await env.openExternal(Uri.parse('https://gitlens.amod.io/#whats-new'));
} else if (result === actions[1]) {
await env.openExternal(Uri.parse('https://github.com/eamodio/vscode-gitlens/blob/main/CHANGELOG.md'));
} else if (result === actions[2]) {
await env.openExternal(Uri.parse('https://gitlens.amod.io/#sponsor'));
}
}

Loading…
Cancel
Save