mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-11 17:42:43 -04:00
fix(headless): forward extraBinPaths to runLifecycleHookConcurrently (#3320)
This make value of PATH environment alwasy contains node_modules/.bin of workspace root, despite whether lockfile is up to date or not. close #2086
This commit is contained in:
5
.changeset/nasty-lizards-dance.md
Normal file
5
.changeset/nasty-lizards-dance.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/headless": patch
|
||||
---
|
||||
|
||||
fix bug that extraBinPaths does not take effect
|
||||
@@ -156,6 +156,7 @@ export default async (opts: HeadlessOptions) => {
|
||||
|
||||
const scriptsOpts = {
|
||||
optional: false,
|
||||
extraBinPaths: opts.extraBinPaths,
|
||||
rawConfig: opts.rawConfig,
|
||||
scriptShell: opts.scriptShell,
|
||||
shellEmulator: opts.shellEmulator,
|
||||
|
||||
Reference in New Issue
Block a user