Skip to content

Commit

Permalink
Fixes #29920: Task shouldn't propose a problem matcher for test tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaeumer committed Jul 10, 2017
1 parent 822d2ad commit 01d8fdf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 01d8fdf

Please sign in to comment.