use vscode open external rather than opener (#5115)

This commit is contained in:
Anthony Dresser
2019-04-18 16:34:12 -07:00
committed by GitHub
parent 3372a5ad4b
commit 4a71eb9b90
6 changed files with 3 additions and 17 deletions

View File

@@ -6,7 +6,6 @@
import { ErrorAction, CloseAction } from 'vscode-languageclient';
import TelemetryReporter from 'vscode-extension-telemetry';
import { PlatformInformation } from 'service-downloader/out/platform';
import * as opener from 'opener';
import * as vscode from 'vscode';
import * as nls from 'vscode-nls';
const localize = nls.loadMessageBundle();
@@ -42,7 +41,7 @@ export class LanguageClientErrorHandler {
crashButtonText
).then(action => {
if (action && action === crashButtonText) {
opener(constants.serviceCrashLink);
vscode.env.openExternal(vscode.Uri.parse(constants.serviceCrashLink));
}
});
}