deno fmt, deno lint

This commit is contained in:
Alex Gleason 2023-12-01 19:28:33 -06:00
parent 89b74217b6
commit 1ad7eeb961
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
3 changed files with 4 additions and 3 deletions

View File

@ -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';

View File

@ -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';

View File

@ -48,6 +48,7 @@ class SqliteWorker {
});
}
// deno-lint-ignore require-await
async destroy() {
this.#worker.terminate();
}