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 there
npm 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
Current Behavior:
npm config set <anykey> <anyvalue>will result in_auth=...being removed from.npmrcExpected Behavior:
npm config set foo barshould not result in_auth=...being removed from.npmrcSteps To Reproduce:
echo '_auth="xxx"' >> ~/.npmrccat ~/.npmrcto see_auth="xxx"is therenpm config set foo barcat ~/.npmrcto see_auth="xxx"is goneEnvironment:
Docker image
node:15.3.0Node: 15.3.0
npm: 7.0.14