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

yarn config set does not allow to set boolean false #2434

Closed
NicBright opened this issue Jan 12, 2017 · 1 comment
Closed

yarn config set does not allow to set boolean false #2434

NicBright opened this issue Jan 12, 2017 · 1 comment
Labels

Comments

@NicBright
Copy link

NicBright commented Jan 12, 2017

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
yarn config set strict-ssl false sets it to string 'false' instead of boolean false. In consequence, 'false' seems to be treated as truthy and has no effect.

If the current behavior is a bug, please provide the steps to reproduce.
see http://stackoverflow.com/questions/41439008/how-do-you-set-boolean-values-with-yarn-config

Expected behaviour
The config value should have been set to boolean false.

@iredchuk
Copy link
Contributor

iredchuk commented Jan 13, 2017

OK, this also seems like a duplicate of #1237. But that one is closed already, only the discussion is still going.

torifat pushed a commit that referenced this issue Jan 14, 2017
arcanis pushed a commit that referenced this issue Apr 18, 2017
* Fixes regression introduced in PR #2440
* Related to #2434
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants