next.js
e2eee896 - chore: Remove useless symlink resolution logic in `recursive-delete.js` (#84582)

Commit
196 days ago
chore: Remove useless symlink resolution logic in `recursive-delete.js` (#84582) If `isSymlink` is `true`, then none of the branches that check for `isDirectory` can be taken, so following symlinks to set `isDirectory` to `true` is useless. This more closely mirrors most recursive directory deletion algorithms out there, which skip symlink resolution entirely. ## History This logic was added in: https://github.com/vercel/next.js/pull/27779 And the symlink logic was nerfed in: https://github.com/vercel/next.js/pull/82191
Author
bgw bgw
Parents
Loading