diff --git a/src/services/fs.ts b/src/services/fs.ts index 2d4071fa4..9535e139e 100644 --- a/src/services/fs.ts +++ b/src/services/fs.ts @@ -253,5 +253,5 @@ export async function removeFolder(folderPath: string) { if (!existsSync(folderPath)) { return; } - await fs.rmdir(folderPath); + fs.rmSync(folderPath, { recursive: true, force: true }); }