#48832 filter out synthetic install tasks

This commit is contained in:
Erich Gamma 2018-04-27 15:54:05 +02:00
parent 310e7b1481
commit 1638acdd62

View file

@ -298,7 +298,7 @@ export class NpmScriptsTreeDataProvider implements TreeDataProvider<TreeItem> {
let packageJson = null;
tasks.forEach(each => {
if (isWorkspaceFolder(each.scope)) {
if (isWorkspaceFolder(each.scope) && each.name !== 'install') {
folder = folders.get(each.scope.name);
if (!folder) {
folder = new Folder(each.scope);