mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor: ♻️ Replace logging system with @logtape/logtape
This commit is contained in:
parent
75992dfe62
commit
bc8220c8f9
28 changed files with 324 additions and 858 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import { consoleLogger } from "@/loggers";
|
||||
import { Command } from "@oclif/core";
|
||||
import { setupDatabase } from "~/drizzle/db";
|
||||
|
||||
|
|
@ -6,6 +5,6 @@ export abstract class BaseCommand<_T extends typeof Command> extends Command {
|
|||
protected async init(): Promise<void> {
|
||||
await super.init();
|
||||
|
||||
await setupDatabase(consoleLogger, false);
|
||||
await setupDatabase(false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue