Skip to content

Commit c4f400a

Browse files
committed
fix(core): add env?.PathExt casing to node-host system.which resolver
1 parent 06a738e commit c4f400a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/node-host/invoke.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ function resolveExecutable(bin: string, env?: Record<string, string>) {
377377
process.platform === "win32"
378378
? (
379379
env?.PATHEXT ??
380+
env?.PathExt ??
380381
env?.Pathext ??
381382
process.env.PATHEXT ??
382383
process.env.PathExt ??

0 commit comments

Comments
 (0)