mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-20 05:17:43 -05:00
Whitespace fix
This commit is contained in:
@@ -140,7 +140,7 @@ namespace ts {
|
||||
let output = "";
|
||||
|
||||
if (diagnostic.file) {
|
||||
const {start, length, file} = diagnostic;
|
||||
const { start, length, file } = diagnostic;
|
||||
const { line: firstLine, character: firstLineChar } = getLineAndCharacterOfPosition(file, start);
|
||||
const { line: lastLine, character: lastLineChar } = getLineAndCharacterOfPosition(file, start + length);
|
||||
const lastLineInFile = getLineAndCharacterOfPosition(file, file.text.length).line;
|
||||
@@ -195,7 +195,7 @@ namespace ts {
|
||||
}
|
||||
|
||||
output += sys.newLine;
|
||||
output += `${relativeFileName}(${firstLine + 1},${firstLineChar + 1}): `;
|
||||
output += `${ relativeFileName }(${ firstLine + 1 },${ firstLineChar + 1 }): `;
|
||||
}
|
||||
|
||||
const categoryColor = categoryFormatMap[diagnostic.category];
|
||||
|
||||
Reference in New Issue
Block a user