From aac3bcf69dd85692a0768ea35e6d2048652e3258 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Sat, 20 May 2023 09:06:49 +0800 Subject: [PATCH] Minor fix --- db.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.ts b/db.ts index ff509c1..aac8c99 100644 --- a/db.ts +++ b/db.ts @@ -204,7 +204,7 @@ export class EhDb { this.db.close(); if (this.file) { this.file.close(); - if (this.#lock_file) Deno.remove(this.#lock_file); + if (this.#lock_file) Deno.removeSync(this.#lock_file); } } async commit() {