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

Commit 018df27

Browse files
committedJan 22, 2019
fix(scripts): pass in opts.dir directly
1 parent 193d74e commit 018df27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,8 @@ class Installer {
389389
pkg, stage, pkgPath, LifecycleOpts(this.opts).concat({
390390
// TODO: can be removed once npm-lifecycle is updated to modern
391391
// config practices.
392-
config: this.opts
392+
config: this.opts,
393+
dir: this.prefix
393394
}))
394395
).tap(() => { this.timings.scripts += Date.now() - start })
395396
}

0 commit comments

Comments
 (0)
This repository has been archived.