diff options
author | Colin Rotherham <work@colinr.com> | 2017-06-05 22:56:09 +0300 |
---|---|---|
committer | Kat Marchán <kzm@sykosomatic.org> | 2017-06-06 00:20:52 +0300 |
commit | 89cc8e3e12dad67fd9844accf4d41deb4c180c5c (patch) | |
tree | a139bfa3c5dc41e88b03fa50cb7779eca472ef5b | |
parent | 191d10a6616d72e26d89fd00f5a4f6158bfbc526 (diff) |
pacote: send certificate authority, cert and key config through (#16917)
PR-URL: https://github.com/npm/npm/pull/16917
Credit: @colinrotherham
Reviewed-By: @zkat
-rw-r--r-- | lib/config/pacote.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/config/pacote.js b/lib/config/pacote.js index 9f2d35678..dfee47b18 100644 --- a/lib/config/pacote.js +++ b/lib/config/pacote.js @@ -21,9 +21,12 @@ function pacoteOpts (moreOpts) { const ownerStats = calculateOwner() const opts = { cache: path.join(npm.config.get('cache'), '_cacache'), + ca: npm.config.get('ca'), + cert: npm.config.get('cert'), defaultTag: npm.config.get('tag'), dirPacker: pack.packGitDep, hashAlgorithm: 'sha1', + key: npm.config.get('key'), localAddress: npm.config.get('local-address'), log: log, maxAge: npm.config.get('cache-min'), |