mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
Added npm install to the list of discovered npm tasks
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user