Skip to content

Commit

Permalink
Added npm install to the list of discovered npm tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
egamma committed May 28, 2017
1 parent 944d4f1 commit 8c1c1d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/npm/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8c1c1d1

Please sign in to comment.