Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

Commit 4371558

Browse files
committedAug 31, 2018
fix(worker): missed a spot
1 parent 02cdffa commit 4371558

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎lib/worker.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
const BB = require('bluebird')
44

5-
const log = require('npmlog')
5+
// const log = require('npmlog')
66
const pacote = require('pacote')
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-
opts.log = log
14-
log.level = opts.loglevel
13+
// opts.log = log
14+
// log.level = opts.loglevel
1515
return BB.resolve(pacote.extract(spec, extractTo, opts)).nodeify(cb)
1616
}

0 commit comments

Comments
 (0)
This repository has been archived.