mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 16:34:36 -05:00
Give the new reporter a more reasonable name.
This commit is contained in:
@@ -98,7 +98,7 @@ namespace ts {
|
||||
const redColorControlChar = "\u001b[31m";
|
||||
const resetColorControlChar = "\u001b[0m";
|
||||
|
||||
function reportDiagnosticAllPrettyLike(diagnostic: Diagnostic): void {
|
||||
function reportDiagnosticWithColorAndContext(diagnostic: Diagnostic): void {
|
||||
let output = "";
|
||||
|
||||
if (diagnostic.file) {
|
||||
@@ -163,7 +163,7 @@ namespace ts {
|
||||
|
||||
function reportDiagnostics(diagnostics: Diagnostic[]) {
|
||||
for (var i = 0; i < diagnostics.length; i++) {
|
||||
reportDiagnosticAllPrettyLike(diagnostics[i]);
|
||||
reportDiagnosticWithColorAndContext(diagnostics[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user