From 1ad7eeb96199681fc2da89a2dd22bfc2a391f319 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 1 Dec 2023 19:28:33 -0600 Subject: [PATCH] deno fmt, deno lint --- src/db.ts | 2 +- src/deps.ts | 4 ++-- src/workers/sqlite.ts | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/db.ts b/src/db.ts index c05abe6..c5a3e17 100644 --- a/src/db.ts +++ b/src/db.ts @@ -1,7 +1,7 @@ import fs from 'node:fs/promises'; import path from 'node:path'; -import { PolySqliteDialect, FileMigrationProvider, Kysely, Migrator } from '@/deps.ts'; +import { FileMigrationProvider, Kysely, Migrator, PolySqliteDialect } from '@/deps.ts'; import { Conf } from '@/config.ts'; import { getPragma, setPragma } from '@/pragma.ts'; import { sqliteWorker } from '@/workers.ts'; diff --git a/src/deps.ts b/src/deps.ts index 6cbfa9c..8b98e17 100644 --- a/src/deps.ts +++ b/src/deps.ts @@ -60,13 +60,13 @@ export { export { Database as DenoSqlite3 } from 'https://deno.land/x/sqlite3@0.9.1/mod.ts'; export * as dotenv from 'https://deno.land/std@0.198.0/dotenv/mod.ts'; export { + type CompiledQuery, FileMigrationProvider, type Insertable, Kysely, - type QueryResult, - type CompiledQuery, Migrator, type NullableInsertKeys, + type QueryResult, sql, } from 'npm:kysely@^0.26.3'; export { PolySqliteDialect } from 'https://gitlab.com/soapbox-pub/kysely-deno-sqlite/-/raw/v2.0.0/mod.ts'; diff --git a/src/workers/sqlite.ts b/src/workers/sqlite.ts index 8d23f20..0a6f35f 100644 --- a/src/workers/sqlite.ts +++ b/src/workers/sqlite.ts @@ -48,6 +48,7 @@ class SqliteWorker { }); } + // deno-lint-ignore require-await async destroy() { this.#worker.terminate(); }