File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if (perftest.hasLogIOFlag()) {
1010 var content = perftest . readFile ( s ) ;
1111 return content !== undefined ? ts . createSourceFile ( s , content , v ) : undefined ;
1212 } ,
13- getDefaultLibFilename : ( ) => ts . combinePaths ( ts . getDirectoryPath ( ts . normalizePath ( perftest . getExecutingFilePath ( ) ) ) , "lib.d.ts" ) ,
13+ getDefaultLibFileName : ( ) => ts . combinePaths ( ts . getDirectoryPath ( ts . normalizePath ( perftest . getExecutingFilePath ( ) ) ) , "lib.d.ts" ) ,
1414 writeFile : ( f : string , content : string ) => { throw new Error ( "Unexpected operation: writeFile" ) ; } ,
1515 getCurrentDirectory : ( ) => perftest . getCurrentDirectory ( ) ,
1616 getCanonicalFileName : ( f : string ) => ts . sys . useCaseSensitiveFileNames ? f : f . toLowerCase ( ) ,
@@ -19,8 +19,8 @@ if (perftest.hasLogIOFlag()) {
1919 } ;
2020
2121 var commandLine = ts . parseCommandLine ( perftest . getArgsWithoutLogIOFlag ( ) ) ;
22- var program = ts . createProgram ( commandLine . filenames , commandLine . options , compilerHost ) ;
23- var fileNames = program . getSourceFiles ( ) . map ( f => f . filename ) ;
22+ var program = ts . createProgram ( commandLine . fileNames , commandLine . options , compilerHost ) ;
23+ var fileNames = program . getSourceFiles ( ) . map ( f => f . fileName ) ;
2424 perftest . writeIOLog ( fileNames ) ;
2525}
2626else {
You can’t perform that action at this time.
0 commit comments