fixremoveFolder

This commit is contained in:
Abhinav 2023-04-25 13:38:53 +05:30
parent dfeca065d9
commit 36107a665c

View file

@ -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 });
}