mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-12 01:48:33 -05:00
Fix rwc-runner from breaking change in compiler (#9284)
This commit is contained in:
@@ -224,12 +224,7 @@ namespace Playback {
|
||||
recordLog.directoriesRead.push(logEntry);
|
||||
return result;
|
||||
},
|
||||
(path, extension, exclude) => findResultByPath(wrapper,
|
||||
replayLog.directoriesRead.filter(
|
||||
d => {
|
||||
return d.extension === extension;
|
||||
}
|
||||
), path));
|
||||
(path, extension, exclude) => findResultByPath(wrapper, replayLog.directoriesRead, path));
|
||||
|
||||
wrapper.writeFile = recordReplay(wrapper.writeFile, underlying)(
|
||||
(path: string, contents: string) => callAndRecord(underlying.writeFile(path, contents), recordLog.filesWritten, { path, contents, bom: false }),
|
||||
|
||||
Reference in New Issue
Block a user