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
path: root/lib
diff options
context:
space:
mode:
authorKat Marchán <kzm@zkat.tech>2018-09-01 02:34:01 +0300
committerKat Marchán <kzm@zkat.tech>2018-12-11 02:30:30 +0300
commit125ff9551595dda9dab2edaef10f4c73ae8e1433 (patch)
treed66995ad546fa54283fbc84d840399b946cac110 /lib
parentc5af34c05fd569aecd11f18d6d0ddeac3970b253 (diff)
workers: fixup
Diffstat (limited to 'lib')
-rw-r--r--lib/install/action/extract-worker.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/install/action/extract-worker.js b/lib/install/action/extract-worker.js
index 2b082b4a5..225e5b4ae 100644
--- a/lib/install/action/extract-worker.js
+++ b/lib/install/action/extract-worker.js
@@ -3,16 +3,16 @@
const BB = require('bluebird')
const extract = require('pacote/extract')
-const npmlog = require('npmlog')
+// const npmlog = require('npmlog')
module.exports = (args, cb) => {
const parsed = typeof args === 'string' ? JSON.parse(args) : args
const spec = parsed[0]
const extractTo = parsed[1]
const opts = parsed[2]
- if (!opts.log) {
- opts.log = npmlog
- }
- opts.log.level = opts.loglevel || opts.log.level
+ // if (!opts.log) {
+ // opts.log = npmlog
+ // }
+ // opts.log.level = opts.loglevel || opts.log.level
BB.resolve(extract(spec, extractTo, opts)).nodeify(cb)
}