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

Fix bug when cannot set a config value to empty string #3018

Merged
merged 1 commit into from
Apr 18, 2017
Merged

Fix bug when cannot set a config value to empty string #3018

merged 1 commit into from
Apr 18, 2017

Conversation

iredchuk
Copy link
Contributor

Summary

Currently $ yarn config set <config_key> "" sets the respective config value to true. It should be possible to set config values to an empty string.

Omitting config value should still default to true, e.g.
$ yarn config set strict-ssl
should set strict-ssl config value to true.

Test plan

$ yarn config set version-tag-prefix ""
should set version-tag-prefix config value to an empty string.

@arcanis arcanis self-assigned this Apr 10, 2017
* Fixes regression introduced in PR #2440
* Related to #2434
@arcanis arcanis merged commit f68c101 into yarnpkg:master Apr 18, 2017
@arcanis
Copy link
Member

arcanis commented Apr 18, 2017

Thanks !

@coridrew
Copy link

coridrew commented Jan 4, 2018

This is still not working for me. I have yarn 1.3.2 installed.

@iredchuk
Copy link
Contributor Author

@coridrew What exactly is not working? Do you have steps to reproduce? For me it looks fine with yarn 1.3.2

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.

3 participants