Skip to content

fix: fall back to PATH when Windows Path is absent - #182

Open
amtbsl wants to merge 2 commits into
npm:mainfrom
amtbsl:fix/windows-path-env-fallback-108
Open

fix: fall back to PATH when Windows Path is absent#182
amtbsl wants to merge 2 commits into
npm:mainfrom
amtbsl:fix/windows-path-env-fallback-108

Conversation

@amtbsl

@amtbsl amtbsl commented Aug 29, 2026

Copy link
Copy Markdown

Fixes #108.

On Windows, use the canonical Path variable when present, but fall back to PATH when environments expose only the uppercase form. Includes a mocked Windows regression test.

Tests: full suite, 100% coverage, and ESLint.

@amtbsl
amtbsl requested a review from a team as a code owner August 29, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] process.env.PATH can be undefined on Windows

1 participant