File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1524,7 +1524,8 @@ namespace ts {
15241524 let package : { typings ?: string } = { } ;
15251525 try {
15261526 package = JSON . parse ( host . readFile ( packageJsonPath ) ) ;
1527- } catch ( e ) { }
1527+ }
1528+ catch ( e ) { }
15281529
15291530 if ( package . typings ) {
15301531 typingFilename = package . typings ;
@@ -1699,7 +1700,7 @@ namespace ts {
16991700
17001701 function computeCommonSourceDirectory ( sourceFiles : SourceFile [ ] ) : string {
17011702 const fileNames : string [ ] = [ ] ;
1702- for ( const file of sourceFiles ) {
1703+ for ( const file of sourceFiles ) {
17031704 if ( ! file . isDeclarationFile ) {
17041705 fileNames . push ( file . fileName ) ;
17051706 }
Original file line number Diff line number Diff line change @@ -880,7 +880,7 @@ namespace Harness {
880880 useCaseSensitiveFileNames : ( ) => useCaseSensitiveFileNames ,
881881 getNewLine : ( ) => newLine ,
882882 fileExists : fileName => {
883- return fileMap . contains ( harnessNormalizePath ( fileName ) )
883+ return fileMap . contains ( harnessNormalizePath ( fileName ) ) ;
884884 } ,
885885 readFile : ( fileName : string ) : string => {
886886 return fileMap . get ( harnessNormalizePath ( fileName ) ) . getText ( ) ;
You can’t perform that action at this time.
0 commit comments