mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-27 10:30:58 -04:00
When pnpm self-updates via the headless install path, the install directory was not registered in the store's project registry. This caused `pnpm store prune` to treat its global virtual store packages as unreachable and remove them, breaking the global pnpm binary. Register the install dir after headless install in installPnpmToGlobalDir
1.5 KiB
1.5 KiB