mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Added npm install to the list of discovered npm tasks
This commit is contained in:
parent
944d4f1391
commit
8c1c1d14df
|
@ -90,6 +90,8 @@ async function getNpmScriptsAsTasks(): Promise<vscode.Task[]> {
|
|||
}
|
||||
result.push(task);
|
||||
});
|
||||
// add some 'well known' npm tasks
|
||||
result.push(new vscode.ShellTask(`npm: install`, `npm install`));
|
||||
return Promise.resolve(result);
|
||||
} catch (e) {
|
||||
return Promise.resolve(emptyTasks);
|
||||
|
|
Loading…
Reference in a new issue