fix: add db auth before version check
This commit is contained in:
parent
534faa85cb
commit
a9d614700c
@ -362,6 +362,7 @@ export class Application<StateT = DefaultState, ContextT = DefaultContext> exten
|
||||
}
|
||||
|
||||
async runAsCLI(argv = process.argv, options?: ParseOptions) {
|
||||
await this.db.auth({ retry: 30 });
|
||||
await this.dbVersionCheck({ exit: true });
|
||||
await this.load({
|
||||
method: argv?.[2],
|
||||
|
Loading…
Reference in New Issue
Block a user