We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5af34c commit 125ff95Copy full SHA for 125ff95
lib/install/action/extract-worker.js
@@ -3,16 +3,16 @@
3
const BB = require('bluebird')
4
5
const extract = require('pacote/extract')
6
-const npmlog = require('npmlog')
+// const npmlog = require('npmlog')
7
8
module.exports = (args, cb) => {
9
const parsed = typeof args === 'string' ? JSON.parse(args) : args
10
const spec = parsed[0]
11
const extractTo = parsed[1]
12
const opts = parsed[2]
13
- if (!opts.log) {
14
- opts.log = npmlog
15
- }
16
- opts.log.level = opts.loglevel || opts.log.level
+ // if (!opts.log) {
+ // opts.log = npmlog
+ // }
+ // opts.log.level = opts.loglevel || opts.log.level
17
BB.resolve(extract(spec, extractTo, opts)).nodeify(cb)
18
}
0 commit comments