Skip to content

Commit 125ff95

Browse files
committed
workers: fixup
1 parent c5af34c commit 125ff95

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/install/action/extract-worker.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
const BB = require('bluebird')
44

55
const extract = require('pacote/extract')
6-
const npmlog = require('npmlog')
6+
// const npmlog = require('npmlog')
77

88
module.exports = (args, cb) => {
99
const parsed = typeof args === 'string' ? JSON.parse(args) : args
1010
const spec = parsed[0]
1111
const extractTo = parsed[1]
1212
const opts = parsed[2]
13-
if (!opts.log) {
14-
opts.log = npmlog
15-
}
16-
opts.log.level = opts.loglevel || opts.log.level
13+
// if (!opts.log) {
14+
// opts.log = npmlog
15+
// }
16+
// opts.log.level = opts.loglevel || opts.log.level
1717
BB.resolve(extract(spec, extractTo, opts)).nodeify(cb)
1818
}

0 commit comments

Comments
 (0)