[BUG] npm login/add-user --scope=@myScope do not set the scope on the .npmrc file #3515
Closed
1 task done
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
Is there an existing issue for this?
Current Behavior
From https://docs.npmjs.com/cli/v7/commands/npm-adduser
Trying to login on a private artifactory with a defined scope do not set the scope on the ~/.npmrc file, i.e
npm login --scope=@myScope --registry https://myArtifactory
Generated ~/.npmrc
Expected Behavior
For the npm
npm login --scope=@myScope --registry https://myArtifactory
command, we expect the next generated ~/.npmrc file
Steps To Reproduce
npm login --scope=@Myscope --registry https://myArtifactory
Environment
The text was updated successfully, but these errors were encountered: