Skip to content

Commit

Permalink
Fix rwc-runner from breaking change in compiler (#9284)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuit authored Jun 21, 2016
1 parent cb9246f commit 9a85b93
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/harness/loggedIO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }),
Expand Down

0 comments on commit 9a85b93

Please sign in to comment.