We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6e8c63 commit 8feef7fCopy full SHA for 8feef7f
src/vs/workbench/contrib/debug/browser/debugTaskRunner.ts
@@ -64,7 +64,7 @@ export class DebugTaskRunner {
64
return TaskRunResult.Failure;
65
}
66
67
- const errorCount = taskId ? this.markerService.read().filter(marker => marker.severity === MarkerSeverity.Error).length : 0;
+ const errorCount = taskId ? this.markerService.read({ severities: MarkerSeverity.Error, take: 2 }).length : 0;
68
const successExitCode = taskSummary && taskSummary.exitCode === 0;
69
const failureExitCode = taskSummary && taskSummary.exitCode !== 0;
70
const onTaskErrors = this.configurationService.getValue<IDebugConfiguration>('debug').onTaskErrors;
0 commit comments