Browse Source

Updates what's new link

main
Eric Amodio 2 years ago
parent
commit
113c5dbf89
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      src/messages.ts

+ 2
- 4
src/messages.ts View File

@ -1,11 +1,9 @@
import type { MessageItem } from 'vscode';
import { ConfigurationTarget, window } from 'vscode';
import { ConfigurationTarget, env, Uri, window } from 'vscode';
import { configuration, SuppressedMessages } from './configuration';
import { Commands } from './constants';
import type { Container } from './container';
import type { GitCommit } from './git/models/commit';
import { Logger } from './logger';
import { executeCommand } from './system/command';
export function showCommitHasNoPreviousCommitWarningMessage(commit?: GitCommit): Promise<MessageItem | undefined> {
if (commit == null) {
@ -202,7 +200,7 @@ export async function showWhatsNewMessage(version: string) {
);
if (result === whatsnew) {
void (await executeCommand(Commands.ShowWelcomePage));
void (await env.openExternal(Uri.parse('https://help.gitkraken.com/gitlens/gitlens-release-notes-current/')));
}
}

Loading…
Cancel
Save