mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-06-06 05:38:44 +08:00
Fix test
This commit is contained in:
@@ -10,6 +10,12 @@ export const API_PERMISSION: Deno.PermissionOptions = {
|
||||
],
|
||||
};
|
||||
|
||||
export const DB_PERMISSION: Deno.PermissionOptions = {
|
||||
env: ["DB_USE_FFI"],
|
||||
read: ["./test"],
|
||||
write: ["./test"],
|
||||
};
|
||||
|
||||
export async function remove_if_exists(f: string) {
|
||||
if (await exists(f)) await Deno.remove(f, { "recursive": true });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user