npm-cli-login
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -24,5 +24,5 @@ var RegClient = require('npm-registry-client'), | ||
} | ||
fs.appendFileSync(path.join(process.env.HOME, '.npmrc'), '//' + registry + '/:_authToken="' + data.token + '"'); | ||
fs.appendFileSync(path.join(process.env.HOME, '.npmrc'), registry.slice(registry.search(/\:\/\//, '') + 1) + '/:_authToken="' + data.token + '"'); | ||
} | ||
}); | ||
} |
{ | ||
"name": "npm-cli-login", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3169