@@ -68,7 +68,7 @@ namespace ts {
6868 const host : ParseConfigFileHost = < any > system ;
6969 host . onConfigFileDiagnostic = reportDiagnostic ;
7070 host . onUnRecoverableConfigFileDiagnostic = diagnostic => reportUnrecoverableDiagnostic ( sys , reportDiagnostic , diagnostic ) ;
71- const result = parseConfigFile ( configFileName , optionsToExtend , host ) ;
71+ const result = getParsedCommandLineOfConfigFile ( configFileName , optionsToExtend , host ) ;
7272 host . onConfigFileDiagnostic = undefined ;
7373 host . onUnRecoverableConfigFileDiagnostic = undefined ;
7474 return result ;
@@ -77,7 +77,7 @@ namespace ts {
7777 /**
7878 * Reads the config file, reports errors if any and exits if the config file cannot be found
7979 */
80- export function parseConfigFile ( configFileName : string , optionsToExtend : CompilerOptions , host : ParseConfigFileHost ) : ParsedCommandLine | undefined {
80+ export function getParsedCommandLineOfConfigFile ( configFileName : string , optionsToExtend : CompilerOptions , host : ParseConfigFileHost ) : ParsedCommandLine | undefined {
8181 let configFileText : string ;
8282 try {
8383 configFileText = host . readFile ( configFileName ) ;
@@ -791,7 +791,7 @@ namespace ts {
791791 }
792792
793793 function parseConfigFile ( ) {
794- const configParseResult = ts . parseConfigFile ( configFileName , optionsToExtendForConfigFile , parseConfigFileHost ) ;
794+ const configParseResult = ts . getParsedCommandLineOfConfigFile ( configFileName , optionsToExtendForConfigFile , parseConfigFileHost ) ;
795795 rootFileNames = configParseResult . fileNames ;
796796 compilerOptions = configParseResult . options ;
797797 configFileSpecs = configParseResult . configFileSpecs ;
0 commit comments