Resolve Node.js deprecation DEP0178 (#17633)

This commit is contained in:
Seiya authored and GitHub committed 2025-06-21 22:10:03 +08:00
1 parent 1652973553
commit 46a55c1feb
1 file changed
+1 -1
+1 -1
View File
@@ -34,7 +34,7 @@ async function* checkDirectory(directory) {
for (const dirent of files) {
if (dirent.isDirectory() && dirent.name !== SNAPSHOTS_DIRECTORY_NAME) {
yield* checkDirectory(path.join(dirent.path, dirent.name));
yield* checkDirectory(path.join(dirent.parentPath, dirent.name));
}
}
}