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

make add command working with latest tag if offline or preferOffline is setted #2521

Merged

Conversation

voxsim
Copy link
Contributor

@voxsim voxsim commented Jan 21, 2017

Summary
The package constraint resolver had some issue with latest tag and if you try to specify --offline or --prefer-offline it throws exception because it does not retrieve the latest cached version :)

Test plan
I added two test cases and expanded the test for latest tag.

Let me know if it's ok!
cheers,
Simon

@bestander
Copy link
Member

Thanks for tests!

@voxsim
Copy link
Contributor Author

voxsim commented Jan 27, 2017

@bestander you are welcome.

I tried to clarify some tests better because runAdd has some magic, if i open a pull request could be interesting for you to discuss?

@bestander
Copy link
Member

@voxsim, sure go ahead

ConAntonakos pushed a commit to ConAntonakos/yarn that referenced this pull request Jan 30, 2017
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