diff options
author | Kat Marchán <kzm@zkat.tech> | 2018-09-01 02:34:01 +0300 |
---|---|---|
committer | Kat Marchán <kzm@zkat.tech> | 2018-12-11 02:30:30 +0300 |
commit | 125ff9551595dda9dab2edaef10f4c73ae8e1433 (patch) | |
tree | d66995ad546fa54283fbc84d840399b946cac110 /lib | |
parent | c5af34c05fd569aecd11f18d6d0ddeac3970b253 (diff) |
workers: fixup
Diffstat (limited to 'lib')
-rw-r--r-- | lib/install/action/extract-worker.js | 10 |
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) } |