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

Commit

Permalink
fix: do not pass opts.log to lifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Aug 12, 2019
1 parent 9f2bfa9 commit 46b2101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ class Installer {
pkg, stage, pkgPath, LifecycleOpts(this.opts).concat({
// TODO: can be removed once npm-lifecycle is updated to modern
// config practices.
config: this.opts,
config: Object.assign({}, this.opts, { log: null }),
dir: this.prefix
}))
).tap(() => { this.timings.scripts += Date.now() - start })
Expand Down

0 comments on commit 46b2101

Please sign in to comment.