Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/fetch.js')
-rw-r--r--lib/utils/fetch.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/utils/fetch.js b/lib/utils/fetch.js
index d6fdd3de1..0d09e041d 100644
--- a/lib/utils/fetch.js
+++ b/lib/utils/fetch.js
@@ -110,12 +110,11 @@ urls.forEach(function (url) {
if (e) { log.error(e, fetchFile) ; throw e }
exec( "wget"
, ["-O", wgetFile, url]
- , null, true
, function (er, code, stdout, stderr) {
if (e) { log.error(e, wgetFile) ; throw e }
- exec("md5", ["-q", wgetFile], null, true, function (er, _, wghash, __) {
+ exec("md5", ["-q", wgetFile], function (er, _, wghash, __) {
if (e) { log.error(e, "md5 "+wgetFile) ; throw e }
- exec("md5", ["-q", fetchFile], null, true, function (er, _, fhash, __) {
+ exec("md5", ["-q", fetchFile], function (er, _, fhash, __) {
if (e) { log.error(e, "md5 "+fetchFile) ; throw e }
assert.equal(wghash, fhash, fetchFile + " == " + wgetFile)
})