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
Showing
Please
register
or
sign in
to comment