8000 Fix capitalization · rvdn/TypeScript@22f704c · GitHub
[go: up one dir, main page]

Skip to content

Commit 22f704c

Browse files
committed
Fix capitalization
1 parent 0fa6954 commit 22f704c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/perftsc.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}
2626
else {

0 commit comments

Comments
 (0)
0