From 2754e5c3300c1937220a3f3e9ed336aa69ee9fa1 Mon Sep 17 00:00:00 2001 From: Romain Lanz Date: Sun, 3 Mar 2024 16:26:23 +0100 Subject: [PATCH] fix(configure): correct call to logger.error --- configure.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ts b/configure.ts index 807664ec..2e4bef33 100644 --- a/configure.ts +++ b/configure.ts @@ -38,7 +38,7 @@ export async function configure(command: Configure) { * Show error when selected dialect is not supported */ if (dialect! in DIALECTS === false) { - command.error( + command.logger.error( `The selected database "${dialect}" is invalid. Select one from: ${string.sentence( Object.keys(DIALECTS) )}`