Skip to content

Commit cde3ee0

Browse files
committed
feat: opts.extraBinPaths
ref pnpm/pnpm#1355
1 parent f437c0d commit cde3ee0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function _incorrectWorkingDirectory (wd, pkg) {
101101
}
102102

103103
function lifecycle_ (pkg, stage, wd, opts, env, cb) {
104-
const pathArr = []
104+
const pathArr = opts.extraBinPaths || []
105105
const p = wd.split(/[\\/]node_modules[\\/]/)
106106
let acc = path.resolve(p.shift())
107107

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)