Fix rwc-runner from breaking change in compiler (#9284)

This commit is contained in:
Yui
2016-06-21 12:25:24 -07:00
committed by GitHub
parent cb9246f851
commit 9a85b9369f

View File

@@ -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 }),