Skip to content

Fix rwc in including files into compilation - #7060

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

Yui (yuit) merged 2 commits into
masterfrom
fixrwc

Conversation

@yuit

Copy link
Copy Markdown
Contributor

No description provided.

@mhegazy

Copy link
Copy Markdown
Contributor

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

👍

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

👍

Yui (yuit) added a commit that referenced this pull request Feb 12, 2016
Fix rwc in including files into compilation
@yuit
Yui (yuit) merged commit a86654d into master Feb 12, 2016
@microsoft 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