From 113c5dbf8993915d86fcca4e6c43d982aee851bb Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 17 Oct 2022 16:47:49 -0400 Subject: [PATCH] Updates what's new link --- src/messages.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/messages.ts b/src/messages.ts index ae1cb54..ad0f8cd 100644 --- a/src/messages.ts +++ b/src/messages.ts @@ -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 { 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/'))); } }