Do you want to request a feature or report a bug?
bug
What is the current behavior?
Currently, all yarn config set
and yarn config remove
commands modify home config, whether -g
is set or not.
If the current behavior is a bug, please provide the steps to reproduce.
yarn config set foo bar
notice user level .yarnrc is modified
yarn config set foo bar --global
notice user level .yarnrc is modified and global .yarnrc is unmodified
What is the expected behavior?
–global should only modify global .yarnrc
Please mention your node.js, yarn and operating system version.
> node -v
v6.7.0
> npm -v
3.10.3
> yarn --version
0.15.1
The yarn config documentation mentions the
-g
and--global
flag for setting configuration values globally but as mentioned here this feature does not work.