mirror of
https://github.com/bvanroll/yahoo-thing.git
synced 2025-08-29 20:12:46 +00:00
euh
This commit is contained in:
5
node_modules/registry-auth-token/registry-url.js
generated
vendored
Normal file
5
node_modules/registry-auth-token/registry-url.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = function (scope, npmrc) {
|
||||
var rc = npmrc || require('rc')('npm', {registry: 'https://registry.npmjs.org/'})
|
||||
var url = rc[scope + ':registry'] || rc.registry
|
||||
return url.slice(-1) === '/' ? url : url + '/'
|
||||
}
|
Reference in New Issue
Block a user