Skip to content

Commit d99fe9f

Browse files
committed
adjust perftc to match the most recent implementation of createSourceFile
1 parent cc52e1f commit d99fe9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/perftc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if (perftest.hasLogIOFlag()) {
88
var compilerHost: ts.CompilerHost = {
99
getSourceFile: (s, v) => {
1010
var content = perftest.readFile(s);
11-
return content !== undefined ? ts.createSourceFile(s, content, v, ts.ByteOrderMark.Utf8) : undefined;
11+
return content !== undefined ? ts.createSourceFile(s, content, v) : undefined;
1212
},
1313
getDefaultLibFilename: () => ts.combinePaths(ts.getDirectoryPath(ts.normalizePath(perftest.getExecutingFilePath())), "lib.d.ts"),
1414
writeFile: (f: string, content: string) => { throw new Error("Unexpected operation: writeFile"); },

0 commit comments

Comments
 (0)