File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1524,7 +1524,8 @@ namespace ts {
1524
1524
let package : { typings ?: string } = { } ;
1525
1525
try {
1526
1526
package = JSON . parse ( host . readFile ( packageJsonPath ) ) ;
1527
- } catch ( e ) { }
1527
+ }
1528
+ catch ( e ) { }
1528
1529
1529
1530
if ( package . typings ) {
1530
1531
typingFilename = package . typings ;
@@ -1699,7 +1700,7 @@ namespace ts {
1699
1700
1700
1701
function computeCommonSourceDirectory ( sourceFiles : SourceFile [ ] ) : string {
1701
1702
const fileNames : string [ ] = [ ] ;
1702
- for ( const file of sourceFiles ) {
1703
+ for ( const file of sourceFiles ) {
1703
1704
if ( ! file . isDeclarationFile ) {
1704
1705
fileNames . push ( file . fileName ) ;
1705
1706
}
Original file line number Diff line number Diff line change @@ -880,7 +880,7 @@ namespace Harness {
880
880
useCaseSensitiveFileNames : ( ) => useCaseSensitiveFileNames ,
881
881
getNewLine : ( ) => newLine ,
882
882
fileExists : fileName => {
883
- return fileMap . contains ( harnessNormalizePath ( fileName ) )
883
+ return fileMap . contains ( harnessNormalizePath ( fileName ) ) ;
884
884
} ,
885
885
readFile : ( fileName : string ) : string => {
886
886
return fileMap . get ( harnessNormalizePath ( fileName ) ) . getText ( ) ;
You can’t perform that action at this time.
0 commit comments