🎈 perf: 优化清理文件性能

This commit is contained in:
RrOrange 2023-04-11 21:32:32 +08:00
parent 10ee4155aa
commit d044916ce2

View File

@ -57,7 +57,6 @@ async function deleteFolderRecursive(folderPath) {
});
await Promise.allSettled(actions);
await fs.promises.rmdir(folderPath);
return files.length;
} catch (error) {
logger.error(error);