From d044916ce29ec95c584a7192a52702365cff7915 Mon Sep 17 00:00:00 2001 From: RrOrange <542716863@qq.com> Date: Tue, 11 Apr 2023 21:32:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20perf:=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=B8=85=E7=90=86=E6=96=87=E4=BB=B6=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/file.js | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/file.js b/utils/file.js index 6f08e2b..382d282 100644 --- a/utils/file.js +++ b/utils/file.js @@ -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);