File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ] ;
You can’t perform that action at this time.
0 commit comments