Skip to content

Commit

Permalink
pacote: pass the user-agent through
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat authored and iarna committed May 26, 2017
1 parent c515146 commit 9f36587
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/config/pacote.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9f36587

Please sign in to comment.