From 3b84a5e2e5e3a5dd03f9a9bd2cb23c35a71d8df9 Mon Sep 17 00:00:00 2001 From: Kanchalai Tanglertsampan <yuisu@microsoft.com> Date: Mon, 20 Jun 2016 17:09:41 -0700 Subject: [PATCH] Fix rwc-runner from breaking change in compiler --- src/harness/loggedIO.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/harness/loggedIO.ts b/src/harness/loggedIO.ts index a60c7341206c8..81b5e4a672d54 100644 --- a/src/harness/loggedIO.ts +++ b/src/harness/loggedIO.ts @@ -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 }),