diff options
Diffstat (limited to 'deps/npm/lib/adduser.js')
-rw-r--r-- | deps/npm/lib/adduser.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/deps/npm/lib/adduser.js b/deps/npm/lib/adduser.js index e04af0556b..7f3975175a 100644 --- a/deps/npm/lib/adduser.js +++ b/deps/npm/lib/adduser.js @@ -137,8 +137,6 @@ function save (c, u, cb) { // there may be a saved scope and no --registry (for login) if (scope) { - if (scope.charAt(0) !== '@') scope = '@' + scope - var scopedRegistry = npm.config.get(scope + ':registry') var cliRegistry = npm.config.get('registry', 'cli') if (scopedRegistry && !cliRegistry) uri = scopedRegistry |