diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2017-05-16 02:24:00 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-05-26 04:55:21 +0300 |
commit | 9f36587bd99ec604d7a1de7ef285cedb63e4892c (patch) | |
tree | c90e69e6ec621111e788a54d8f969ced3f1180a7 /lib | |
parent | c5151465451e24ed70f0dc5394d300fe8d86b878 (diff) |
pacote: pass the user-agent through
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config/pacote.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/config/pacote.js b/lib/config/pacote.js index e1f20c6eb..a0a83d315 100644 --- a/lib/config/pacote.js +++ b/lib/config/pacote.js @@ -39,7 +39,8 @@ function pacoteOpts (moreOpts) { maxTimeout: npm.config.get('fetch-retry-maxtimeout') }, scope: npm.config.get('scope'), - strictSSL: npm.config.get('strict-ssl') + strictSSL: npm.config.get('strict-ssl'), + userAgent: npm.config.get('user-agent') } if (ownerStats.uid || ownerStats.gid) { |