Commit 8eca3d5e authored by nin0's avatar nin0
Browse files

the horrors

parent 56ae3338
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 });
}