Fixes #29920: Task shouldn't propose a problem matcher for test tasks.

This commit is contained in:
Dirk Baeumer
2017-07-10 15:34:17 +02:00
parent 822d2ada44
commit 01d8fdffdb

View File

@@ -922,6 +922,9 @@ class TaskService extends EventEmitter implements ITaskService {
if (!this.canCustomize()) {
return false;
}
if (task.group !== void 0 && task.group !== TaskGroup.Build) {
return false;
}
if (task.problemMatchers !== void 0 && task.problemMatchers.length > 0) {
return false;
}