Skip to content

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