From e601c4319715ba530614a46aef6d5b89f482c7b5 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 15 Nov 2023 17:09:53 -0600 Subject: [PATCH] deno fmt --- src/workers.ts | 2 +- src/workers/sqlite.worker.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/workers.ts b/src/workers.ts index f00c43a..ffd3e96 100644 --- a/src/workers.ts +++ b/src/workers.ts @@ -2,4 +2,4 @@ import SqliteWorker from './workers/sqlite.ts'; const sqliteWorker = new SqliteWorker('./data/db.sqlite3'); -export { sqliteWorker }; \ No newline at end of file +export { sqliteWorker }; diff --git a/src/workers/sqlite.worker.ts b/src/workers/sqlite.worker.ts index b21f467..e271d67 100644 --- a/src/workers/sqlite.worker.ts +++ b/src/workers/sqlite.worker.ts @@ -9,7 +9,7 @@ type Msg = | ['query', [string, unknown[]]]; function call([cmd, args]: Msg) { - switch(cmd) { + switch (cmd) { case 'open': return handleOpen(args[0]); case 'query': @@ -31,4 +31,4 @@ self.addEventListener('message', (event: MessageEvent<[string, Msg]>) => { self.postMessage([id, result]); }); -self.postMessage(['ready']); \ No newline at end of file +self.postMessage(['ready']);