feat(ssl): expose cafile from npm config

This commit is contained in:
David Townshend 2016-05-23 10:31:14 +02:00
parent d9b95940db
commit ad2a61586e

View File

@ -52,6 +52,7 @@ npmconf.load({}, function (err, conf) {
auth: {
token: env.NPM_TOKEN
},
cafile: conf.get('cafile'),
loglevel: conf.get('loglevel'),
registry: require('../src/lib/get-registry')(pkg, conf),
tag: (pkg.publishConfig || {}).tag || conf.get('tag') || 'latest'