fixremoveFolder
This commit is contained in:
parent
dfeca065d9
commit
36107a665c
|
@ -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 });
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue