Skip to content

Commit ace2f95

Browse files
committed
Don't show errors for shell provided tasks
Related to microsoft/vscode-cpptools#5388
1 parent ef14938 commit ace2f95

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,9 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
15791579
for (const task of taskSet.tasks) {
15801580
if (task.type !== this._providerTypes.get(handle)) {
15811581
this._outputChannel.append(nls.localize('unexpectedTaskType', "The task provider for \"{0}\" tasks unexpectedly provided a task of type \"{1}\".\n", this._providerTypes.get(handle), task.type));
1582-
this.showOutput();
1582+
if ((task.type !== 'shell') && (task.type !== 'process')) {
1583+
this.showOutput();
1584+
}
15831585
break;
15841586
}
15851587
}

0 commit comments

Comments
 (0)