Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

user-agent not needed in fetch.js

  • Loading branch information...
commit ab3d1ab091d739ed1b5a1459fb7baab4ef979f65 1 parent 0d56414
@jensgrunert authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/utils/fetch.js
View
1  lib/utils/fetch.js
@@ -58,7 +58,6 @@ function makeRequest (remote, fstr, headers) {
request({ url: remote
, proxy: proxy
, strictSSL: npm.config.get("strict-ssl")
- , userAgent: npm.config.get("user-agent")
, ca: remote.host === regHost ? npm.config.get("ca") : undefined
, onResponse: onResponse }).pipe(fstr)
function onResponse (er, res) {
Please sign in to comment.
Something went wrong with that request. Please try again.