deno fmt, deno lint
This commit is contained in:
parent
89b74217b6
commit
1ad7eeb961
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -48,6 +48,7 @@ class SqliteWorker {
|
|||
});
|
||||
}
|
||||
|
||||
// deno-lint-ignore require-await
|
||||
async destroy() {
|
||||
this.#worker.terminate();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue