Skip to content

Commit 9a85b93

Browse files
authored
Fix rwc-runner from breaking change in compiler (#9284)
1 parent cb9246f commit 9a85b93

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/harness/loggedIO.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,7 @@ namespace Playback {
224224
recordLog.directoriesRead.push(logEntry);
225225
return result;
226226
},
227-
(path, extension, exclude) => findResultByPath(wrapper,
228-
replayLog.directoriesRead.filter(
229-
d => {
230-
return d.extension === extension;
231-
}
232-
), path));
227+
(path, extension, exclude) => findResultByPath(wrapper, replayLog.directoriesRead, path));
233228

234229
wrapper.writeFile = recordReplay(wrapper.writeFile, underlying)(
235230
(path: string, contents: string) => callAndRecord(underlying.writeFile(path, contents), recordLog.filesWritten, { path, contents, bom: false }),

0 commit comments

Comments
 (0)