Add group to configure task

This will help prevent confusion

Fixes #78396
This commit is contained in:
Alex Ross 2019-08-05 11:47:07 +02:00
parent c8b0433eab
commit 93af1ad14d
2 changed files with 6 additions and 2 deletions

5
.vscode/tasks.json vendored
View file

@ -81,6 +81,7 @@
"type": "gulp",
"task": "hygiene",
"problemMatcher": []
}
},
]
}
}

View file

@ -796,6 +796,9 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
if (task.configurationProperties.problemMatchers && task.configurationProperties.problemMatchers.length > 0 && Types.isStringArray(task.configurationProperties.problemMatchers)) {
toCustomize.problemMatcher = task.configurationProperties.problemMatchers;
}
if (task.configurationProperties.group) {
toCustomize.group = task.configurationProperties.group;
}
}
if (!toCustomize) {
return Promise.resolve(undefined);