Skip to content

Commit 2564ca6

Browse files
author
Andy Hanson
committed
Merge branch 'master' into dts-first
2 parents 60eee20 + e842182 commit 2564ca6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/compiler/program.ts

+1
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ namespace ts {
332332
const categoryColor = getCategoryFormat(diagnostic.category);
333333
const category = DiagnosticCategory[diagnostic.category].toLowerCase();
334334
output += `${ formatAndReset(category, categoryColor) } TS${ diagnostic.code }: ${ flattenDiagnosticMessageText(diagnostic.messageText, sys.newLine) }`;
335+
output += sys.newLine;
335336
}
336337
return output;
337338
}

src/compiler/tsc.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ namespace ts {
6161
}
6262

6363
function reportDiagnosticWithColorAndContext(diagnostic: Diagnostic, host: FormatDiagnosticsHost): void {
64-
sys.write(ts.formatDiagnosticsWithColorAndContext([diagnostic], host) + sys.newLine + sys.newLine);
64+
sys.write(ts.formatDiagnosticsWithColorAndContext([diagnostic], host) + sys.newLine);
6565
}
6666

6767
function reportWatchDiagnostic(diagnostic: Diagnostic) {

0 commit comments

Comments
 (0)