mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-25 01:49:06 -05:00
3442525274
`unpackCircleCache` in scripts/circle-cache.js moved cached node_modules back into place without first clearing the destination. On self-hosted darwin-arm64 runners (which don't reliably clean the workspace between jobs), a leftover `<pkg>/node_modules` caused `fsExtra.move` to throw "dest already exists" and fail the job. Mirror the existing `prepareCircleCache` pattern by removing the dest before moving, keeping the two halves symmetric.