Skip to content

Fix rwc in including files into compilation#7060

Merged
yuit merged 2 commits into
masterfrom
fixrwc
Feb 12, 2016
Merged

Fix rwc in including files into compilation#7060
yuit merged 2 commits into
masterfrom
fixrwc

Conversation

@yuit
Copy link
Copy Markdown
Contributor

@yuit yuit commented Feb 12, 2016

No description provided.

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Feb 12, 2016

so what does this do? what is the issue, and what is the fix?

Comment thread src/harness/loggedIO.ts
(path, extension, exclude) => findResultByPath(wrapper,
replayLog.directoriesRead.filter(
(d) => {
if (d.extension === extension) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have multiple reads to the same extension but with different excludes in the same session?

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Feb 12, 2016

👍

Comment thread src/harness/loggedIO.ts Outdated
(path, extension, exclude) => findResultByPath(wrapper, replayLog.directoriesRead.filter(d => d.extension === extension && ts.arrayIsEqualTo(d.exclude, exclude)), path));
(path, extension, exclude) => findResultByPath(wrapper,
replayLog.directoriesRead.filter(
(d) => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you remove the parentheses around d?

@sandersn
Copy link
Copy Markdown
Member

👍

yuit added a commit that referenced this pull request Feb 12, 2016
Fix rwc in including files into compilation
@yuit yuit merged commit a86654d into master Feb 12, 2016
@RyanCavanaugh RyanCavanaugh deleted the fixrwc branch February 12, 2016 22:36
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants