Skip to content

Commit

Permalink
fix: don't extend NODE_PATH in command shims
Browse files Browse the repository at this point in the history
close #5285
  • Loading branch information
zkochan committed Aug 31, 2022
1 parent 678933a commit 369372a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/link-bins/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ async function linkBin (cmd: CommandInfo, binsDir: string, opts?: LinkBinOptions
try {
await cmdShim(cmd.path, externalBinPath, {
createPwshFile: cmd.makePowerShellShim,
nodePath: opts?.extraNodePaths,
nodeExecPath: cmd.nodeExecPath,
})
} catch (err: any) { // eslint-disable-line
Expand Down

0 comments on commit 369372a

Please sign in to comment.