File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if (perftest.hasLogIOFlag()) {
10
10
var content = perftest . readFile ( s ) ;
11
11
return content !== undefined ? ts . createSourceFile ( s , content , v ) : undefined ;
12
12
} ,
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" ) ,
14
14
writeFile : ( f : string , content : string ) => { throw new Error ( "Unexpected operation: writeFile" ) ; } ,
15
15
getCurrentDirectory : ( ) => perftest . getCurrentDirectory ( ) ,
16
16
getCanonicalFileName : ( f : string ) => ts . sys . useCaseSensitiveFileNames ? f : f . toLowerCase ( ) ,
@@ -19,8 +19,8 @@ if (perftest.hasLogIOFlag()) {
19
19
} ;
20
20
21
21
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 ) ;
24
24
perftest . writeIOLog ( fileNames ) ;
25
25
}
26
26
else {
You can’t perform that action at this time.
0 commit comments