Skip to content

Commit 340051f

Browse files
author
Paul van Brenk
committed
Whitespace fix
1 parent 5363b2d commit 340051f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/compiler/tsc.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ namespace ts {
140140
let output = "";
141141

142142
if (diagnostic.file) {
143-
const {start, length, file} = diagnostic;
143+
const { start, length, file } = diagnostic;
144144
const { line: firstLine, character: firstLineChar } = getLineAndCharacterOfPosition(file, start);
145145
const { line: lastLine, character: lastLineChar } = getLineAndCharacterOfPosition(file, start + length);
146146
const lastLineInFile = getLineAndCharacterOfPosition(file, file.text.length).line;
@@ -195,7 +195,7 @@ namespace ts {
195195
}
196196

197197
output += sys.newLine;
198-
output += `${relativeFileName}(${firstLine + 1},${firstLineChar + 1}): `;
198+
output += `${ relativeFileName }(${ firstLine + 1 },${ firstLineChar + 1 }): `;
199199
}
200200

201201
const categoryColor = categoryFormatMap[diagnostic.category];

0 commit comments

Comments
 (0)