We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed62823 commit 484889dCopy full SHA for 484889d
packages/next/src/lib/recursive-delete.ts
@@ -94,7 +94,8 @@ export async function recursiveDeleteSyncWithAsyncRetries(
94
const isNotExcluded = !exclude || !exclude.test(pp)
95
96
if (isNotExcluded) {
97
- // Note: readdir does not follow symbolic links, that's what we want
+ // Note: readdir does not follow symbolic links, that's good: we want to
98
+ // delete the links and not the destination.
99
let isDirectory = part.isDirectory()
100
if (isDirectory) {
101
await recursiveDeleteSyncWithAsyncRetries(absolutePath, exclude, pp)
0 commit comments