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

Docs for add --tilde seem to be incorrect #393

Open
swrobel opened this issue Feb 28, 2017 · 0 comments
Open

Docs for add --tilde seem to be incorrect #393

swrobel opened this issue Feb 28, 2017 · 0 comments

Comments

@swrobel
Copy link

swrobel commented Feb 28, 2017

The docs say:

For example, yarn add [email protected] --tilde would accept 1.2.9 but not 1.3.0

which would lead me to believe yarn would add foo": "~1.2.3" to package.json, however it adds foo": "1.2.3" (no ~) instead. It seems that adding an @version will cause yarn to implicitly use the --exact flag ... unless I'm missing something here.

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

No branches or pull requests

1 participant