Closed
Description
Current Behavior:
npm config set <anykey> <anyvalue>
will result in _auth=...
being removed from .npmrc
Expected Behavior:
npm config set foo bar
should not result in _auth=...
being removed from .npmrc
Steps To Reproduce:
echo '_auth="xxx"' >> ~/.npmrc
cat ~/.npmrc
to see_auth="xxx"
is therenpm config set foo bar
cat ~/.npmrc
to see_auth="xxx"
is gone
Environment:
Docker image node:15.3.0
Node: 15.3.0
npm: 7.0.14