Implement correct silent bahviour for terminal task runner.
This commit is contained in:
parent
9363c783d3
commit
720cbadf29
|
@ -332,7 +332,7 @@ export class TerminalTaskSystem extends EventEmitter implements ITaskSystem {
|
|||
});
|
||||
}
|
||||
this.terminalService.setActiveInstance(terminal);
|
||||
if (task.command.terminalBehavior.reveal === RevealKind.Always) {
|
||||
if (task.command.terminalBehavior.reveal === RevealKind.Always || (task.command.terminalBehavior.reveal === RevealKind.Silent && task.problemMatchers.length === 0)) {
|
||||
this.terminalService.showPanel(false);
|
||||
}
|
||||
this.activeTasks[task._id] = { terminal, task, promise };
|
||||
|
|
Loading…
Reference in a new issue