Whitespace fix

This commit is contained in:
Paul van Brenk
2016-04-06 13:34:18 -07:00
parent 5363b2d7ad
commit 340051f4f5

View File

@@ -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];