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

Commit 46b2101

Browse files
committedAug 12, 2019
fix: do not pass opts.log to lifecycle
1 parent 9f2bfa9 commit 46b2101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ class Installer {
370370
pkg, stage, pkgPath, LifecycleOpts(this.opts).concat({
371371
// TODO: can be removed once npm-lifecycle is updated to modern
372372
// config practices.
373-
config: this.opts,
373+
config: Object.assign({}, this.opts, { log: null }),
374374
dir: this.prefix
375375
}))
376376
).tap(() => { this.timings.scripts += Date.now() - start })

0 commit comments

Comments
 (0)
This repository has been archived.