Switch the pretty output to use colons to separate file:line:char so that lines are clickable in terminals (#20736)

This commit is contained in:
Orta
2018-01-04 19:38:52 -05:00
committed by Mohamed Hegazy
parent 12d5063e4c
commit 5865494453
2 changed files with 4 additions and 4 deletions

View File

@@ -331,11 +331,11 @@ namespace ts {
}
output += formatColorAndReset(relativeFileName, ForegroundColorEscapeSequences.Cyan);
output += "(";
output += ":";
output += formatColorAndReset(`${ firstLine + 1 }`, ForegroundColorEscapeSequences.Yellow);
output += ",";
output += ":";
output += formatColorAndReset(`${ firstLineChar + 1 }`, ForegroundColorEscapeSequences.Yellow);
output += "): ";
output += " - ";
}
const categoryColor = getCategoryFormat(diagnostic.category);