mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Fixes #25468
This commit is contained in:
parent
bf31ce9b80
commit
d3e4e45320
|
@ -5,7 +5,7 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
import { MessageItem, workspace, Disposable, ProgressLocation, window, commands } from 'vscode';
|
||||
import { MessageItem, workspace, Disposable, ProgressLocation, window, commands, Uri } from 'vscode';
|
||||
import { ITypescriptServiceClient } from '../typescriptService';
|
||||
import { loadMessageBundle } from 'vscode-nls';
|
||||
|
||||
|
@ -108,7 +108,7 @@ export class AtaProgressReporter {
|
|||
window.showWarningMessage<MyMessageItem>(
|
||||
localize(
|
||||
'typesInstallerInitializationFailed.title',
|
||||
"Could not install typings files for JavaScript language features. Please ensure that NPM is installed"
|
||||
"Could not install typings files for JavaScript language features. Please ensure that NPM is installed and is in your PATH"
|
||||
), {
|
||||
title: localize('typesInstallerInitializationFailed.moreInformation', "More Information"),
|
||||
id: 1
|
||||
|
@ -128,7 +128,7 @@ export class AtaProgressReporter {
|
|||
}
|
||||
switch (selected.id) {
|
||||
case 1:
|
||||
commands.executeCommand('open', 'https://go.microsoft.com/fwlink/?linkid=847635');
|
||||
commands.executeCommand('vscode.open', Uri.parse('https://go.microsoft.com/fwlink/?linkid=847635'));
|
||||
break;
|
||||
case 2:
|
||||
const tsConfig = workspace.getConfiguration('typescript');
|
||||
|
|
Loading…
Reference in a new issue