Skip to content

Commit

Permalink
fix: don't extend NODE_PATH in command shims (#5290)
Browse files Browse the repository at this point in the history
close #5285
close #5176
  • Loading branch information
zkochan committed Mar 14, 2023
1 parent 5c16743 commit e505b58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/seven-humans-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@pnpm/config": major
"pnpm": patch
---

Don't extend NODE_PATH in command shims [#5176](https://github.com/pnpm/pnpm/issues/5176).
2 changes: 1 addition & 1 deletion config/config/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export async function getConfig (
color: 'auto',
'dedupe-peer-dependents': false,
'enable-modules-dir': true,
'extend-node-path': true,
'extend-node-path': false,
'fetch-retries': 2,
'fetch-retry-factor': 10,
'fetch-retry-maxtimeout': 60000,
Expand Down

0 comments on commit e505b58

Please sign in to comment.