mirror of
https://gh.hjkl01.cn/https://github.com/pnpm/action-setup
synced 2026-05-31 21:15:22 +08:00
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.