the horrors

This commit is contained in:
nin0dev 2024-11-01 21:33:32 -04:00
parent 56ae3338d8
commit 8eca3d5ee5

View file

@ -41,6 +41,7 @@ export async function getPluginMeta(_, path: string): Promise<any> {
}
export function deleteFolder(_, path: string) {
if(path.match(/\.\./g).length > 1) return;
rmSync(path, { recursive: true, force: true });
}