mirror of
https://github.com/pnpm/action-setup.git
synced 2026-06-14 14:09:07 +00:00
fix: check bin/ dir instead of pnpm.exe for self-update detection
On Windows pnpm self-update writes `.bin/bin/pnpm` (a JS launcher), not `.bin/bin/pnpm.exe`, so the previous existsSync probe always fell back to pnpmHome and the bin_dest output pointed at the bootstrap pnpm. Check whether the `bin` directory itself exists.
This commit is contained in:
Vendored
+38
-38
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user