Loading native.ts +1 −0 Original line number Diff line number Diff line Loading @@ -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 }); } Loading Loading
native.ts +1 −0 Original line number Diff line number Diff line Loading @@ -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 }); } Loading