mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-25 23:17:08 -04:00
When 3+ threads/processes concurrently import the same package to the global virtual store, a third party can rimraf the target between another thread's failed rename and its existence check. Retry the check up to 4 times with 50ms delays to let the competing operation complete.