Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix indentation.

  • Loading branch information...
commit 05dfac3689f5edfb7dfc6b6cbfa8f5f6635d3b1e 1 parent 0d50007
Victor Voisin authored

Showing 1 changed file with 10 additions and 11 deletions. Show diff stats Hide diff stats

  1. +10 11 lib/utils/fetch.js
21 lib/utils/fetch.js
@@ -73,15 +73,14 @@ function makeRequest (remote, fstr, headers) {
73 73 }
74 74
75 75 var opts = { url: remote
76   - , proxy: proxy
77   - , strictSSL: npm.config.get("strict-ssl")
78   - , ca: remote.host === regHost ? npm.config.get("ca") : undefined
79   - , headers: { "user-agent": npm.config.get("user-agent") }}
80   -
81   - var req = request(opts)
82   - req.on("error", function (er) {
83   - fstr.emit("error", er)
84   - })
85   - req.pipe(fstr)
86   - return req;
  76 + , proxy: proxy
  77 + , strictSSL: npm.config.get("strict-ssl")
  78 + , ca: remote.host === regHost ? npm.config.get("ca") : undefined
  79 + , headers: { "user-agent": npm.config.get("user-agent") }}
  80 + var req = request(opts)
  81 + req.on("error", function (er) {
  82 + fstr.emit("error", er)
  83 + })
  84 + req.pipe(fstr)
  85 + return req;
87 86 }

0 comments on commit 05dfac3

Please sign in to comment.
Something went wrong with that request. Please try again.