fix(last-release): normalized registry url

This commit is contained in:
Stephan Bönnemann
2015-07-14 21:13:36 +02:00
parent caf09c9be0
commit af15fb4c61
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ module.exports = function (pkg, npmConfig, cb) {
npmlog.level = npmConfig.loglevel || 'error'
const client = new RegClient({log: npmlog})
client.get(`${npmConfig.registry}/${pkg.name}`, {
client.get(`${npmConfig.registry}${pkg.name}`, {
auth: npmConfig.auth
}, (err, data) => {
if (err && err.statusCode === 404) return cb(null, {})