Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(resolver): Minor improvements in resolver code and tests #4644

Merged
merged 2 commits into from
Oct 6, 2017

Conversation

BYK
Copy link
Member

@BYK BYK commented Oct 5, 2017

Summary

This is a follow up to #4484 and #4478 which improves the code
around those areas a bit and removes a now-unnecessary while
loop.

Test plan

Existing tests should pass.

**Summary**

This is a follow up to #4484 and #4478 which improves the code
around those areas a bit and removes a now-unnecessary `while`
loop.

**Test plan**

Existing tests should pass.
@BYK BYK requested a review from arcanis October 5, 2017 16:13
@buildsize
Copy link

buildsize bot commented Oct 5, 2017

This change will decrease the build size from 9.91 MB to 9.91 MB, a decrease of 569 bytes (0%)

File name Previous Size New Size Change
yarn-[version].noarch.rpm 856.86 KB 856.75 KB -111 bytes (0%)
yarn-[version].js 3.77 MB 3.77 MB -181 bytes (0%)
yarn-legacy-[version].js 3.82 MB 3.82 MB -181 bytes (0%)
yarn-v[version].tar.gz 862.71 KB 862.65 KB -70 bytes (0%)
yarn_[version]all.deb 652.06 KB 652.04 KB -26 bytes (0%)

requestLevel += 1;
currentRequest = currentRequest.parentRequest;
}
this.level = requestLevel;
Copy link
Member

Choose a reason for hiding this comment

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

Well spotted!

@arcanis arcanis merged commit 9c2bbca into master Oct 6, 2017
joaolucasl pushed a commit to joaolucasl/yarn that referenced this pull request Oct 27, 2017
…kg#4644)

* chore(resolver): Minor improvements in resolver code and tests

**Summary**

This is a follow up to yarnpkg#4484 and yarnpkg#4478 which improves the code
around those areas a bit and removes a now-unnecessary `while`
loop.

**Test plan**

Existing tests should pass.

* Fix logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants