File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ namespace RWC {
7878 let tsconfigFile = ts . forEach ( ioLog . filesRead , f => isTsConfigFile ( f ) ? f : undefined ) ;
7979 if ( tsconfigFile ) {
8080 let tsconfigFileContents = getHarnessCompilerInputUnit ( tsconfigFile . path ) ;
81- let parsedTsconfigFileContents = ts . parseConfigFileText ( tsconfigFile . path , tsconfigFileContents . content ) ;
82- let configParseResult = ts . parseConfigFile ( parsedTsconfigFileContents . config , Harness . IO , ts . getDirectoryPath ( tsconfigFile . path ) ) ;
81+ let parsedTsconfigFileContents = ts . parseConfigFileTextToJson ( tsconfigFile . path , tsconfigFileContents . content ) ;
82+ let configParseResult = ts . parseJsonConfigFileContent ( parsedTsconfigFileContents . config , Harness . IO , ts . getDirectoryPath ( tsconfigFile . path ) ) ;
8383 fileNames = configParseResult . fileNames ;
8484 opts . options = ts . extend ( opts . options , configParseResult . options ) ;
8585 }
You can’t perform that action at this time.
0 commit comments