Skip to content

Commit 484889d

Browse files
committed
update comment
1 parent ed62823 commit 484889d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/next/src/lib/recursive-delete.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ export async function recursiveDeleteSyncWithAsyncRetries(
9494
const isNotExcluded = !exclude || !exclude.test(pp)
9595

9696
if (isNotExcluded) {
97-
// Note: readdir does not follow symbolic links, that's what we want
97+
// Note: readdir does not follow symbolic links, that's good: we want to
98+
// delete the links and not the destination.
9899
let isDirectory = part.isDirectory()
99100
if (isDirectory) {
100101
await recursiveDeleteSyncWithAsyncRetries(absolutePath, exclude, pp)

0 commit comments

Comments
 (0)