Skip to content

Commit e877dd4

Browse files
authored
Remove initial text line skipping in tasks (microsoft#136854)
Fixes microsoft#136585
1 parent fbf402c commit e877dd4

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -828,12 +828,7 @@ export class TerminalTaskSystem extends Disposable implements ITaskSystem {
828828
this.logService.error('Task terminal process never got ready');
829829
});
830830
this.fireTaskEvent(TaskEvent.create(TaskEventKind.Start, task, terminal.instanceId));
831-
let skipLine: boolean = (!!task.command.presentation && task.command.presentation.echo);
832831
const onData = terminal.onLineData((line) => {
833-
if (skipLine) {
834-
skipLine = false;
835-
return;
836-
}
837832
watchingProblemMatcher.processLine(line);
838833
if (!delayer) {
839834
delayer = new Async.Delayer(3000);
@@ -919,12 +914,7 @@ export class TerminalTaskSystem extends Disposable implements ITaskSystem {
919914
let problemMatchers = await this.resolveMatchers(resolver, task.configurationProperties.problemMatchers);
920915
let startStopProblemMatcher = new StartStopProblemCollector(problemMatchers, this.markerService, this.modelService, ProblemHandlingStrategy.Clean, this.fileService);
921916
this.terminalStatusManager.addTerminal(task, terminal, startStopProblemMatcher);
922-
let skipLine: boolean = (!!task.command.presentation && task.command.presentation.echo);
923917
const onData = terminal.onLineData((line) => {
924-
if (skipLine) {
925-
skipLine = false;
926-
return;
927-
}
928918
startStopProblemMatcher.processLine(line);
929919
});
930920
promise = new Promise<ITaskSummary>((resolve, reject) => {

0 commit comments

Comments
 (0)