Skip to content

Commit

Permalink
Don't show errors for shell provided tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
alexr00 committed May 13, 2020
1 parent d476742 commit dd7d4ad
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1579,7 +1579,9 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
for (const task of taskSet.tasks) {
if (task.type !== this._providerTypes.get(handle)) {
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));
this.showOutput();
if ((task.type !== 'shell') && (task.type !== 'process')) {
this.showOutput();
}
break;
}
}
Expand Down

0 comments on commit dd7d4ad

Please sign in to comment.