From 8feee8ebb928d7d622a92f8557582f3f43d11fb5 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Fri, 24 Nov 2017 07:59:45 +0100 Subject: [PATCH] fixes #39077 --- extensions/git/src/main.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/git/src/main.ts b/extensions/git/src/main.ts index b9bc3aedcd3..3d6f67d6b01 100644 --- a/extensions/git/src/main.ts +++ b/extensions/git/src/main.ts @@ -70,10 +70,6 @@ async function _activate(context: ExtensionContext, disposables: Disposable[]): throw err; } - console.warn(err.message); - outputChannel.appendLine(err.message); - outputChannel.show(); - const config = workspace.getConfiguration('git'); const shouldIgnore = config.get('ignoreMissingGitWarning') === true; @@ -81,6 +77,10 @@ async function _activate(context: ExtensionContext, disposables: Disposable[]): return; } + console.warn(err.message); + outputChannel.appendLine(err.message); + outputChannel.show(); + const download = localize('downloadgit', "Download Git"); const neverShowAgain = localize('neverShowAgain', "Don't show again"); const choice = await window.showWarningMessage(