@@ -68,7 +68,7 @@ namespace ts {
68
68
const host : ParseConfigFileHost = < any > system ;
69
69
host . onConfigFileDiagnostic = reportDiagnostic ;
70
70
host . onUnRecoverableConfigFileDiagnostic = diagnostic => reportUnrecoverableDiagnostic ( sys , reportDiagnostic , diagnostic ) ;
71
- const result = parseConfigFile ( configFileName , optionsToExtend , host ) ;
71
+ const result = getParsedCommandLineOfConfigFile ( configFileName , optionsToExtend , host ) ;
72
72
host . onConfigFileDiagnostic = undefined ;
73
73
host . onUnRecoverableConfigFileDiagnostic = undefined ;
74
74
return result ;
@@ -77,7 +77,7 @@ namespace ts {
77
77
/**
78
78
* Reads the config file, reports errors if any and exits if the config file cannot be found
79
79
*/
80
- export function parseConfigFile ( configFileName : string , optionsToExtend : CompilerOptions , host : ParseConfigFileHost ) : ParsedCommandLine | undefined {
80
+ export function getParsedCommandLineOfConfigFile ( configFileName : string , optionsToExtend : CompilerOptions , host : ParseConfigFileHost ) : ParsedCommandLine | undefined {
81
81
let configFileText : string ;
82
82
try {
83
83
configFileText = host . readFile ( configFileName ) ;
@@ -791,7 +791,7 @@ namespace ts {
791
791
}
792
792
793
793
function parseConfigFile ( ) {
794
- const configParseResult = ts . parseConfigFile ( configFileName , optionsToExtendForConfigFile , parseConfigFileHost ) ;
794
+ const configParseResult = ts . getParsedCommandLineOfConfigFile ( configFileName , optionsToExtendForConfigFile , parseConfigFileHost ) ;
795
795
rootFileNames = configParseResult . fileNames ;
796
796
compilerOptions = configParseResult . options ;
797
797
configFileSpecs = configParseResult . configFileSpecs ;
0 commit comments