Skip to content

Commit

Permalink
fix(configure): correct call to logger.error
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainLanz committed Mar 3, 2024
1 parent 396c434 commit 2754e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)}`
Expand Down

0 comments on commit 2754e5c

Please sign in to comment.