From d95ba8b5ce98e40a05add0a9f2fabaffcc557211 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Wed, 12 Jul 2023 00:14:57 +1000 Subject: [PATCH] fix(config): respect connection-string flags --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 6000c24..7bf0b74 100644 --- a/src/config.ts +++ b/src/config.ts @@ -88,7 +88,7 @@ export const connectionOptions = (() => { } } - const flags: string[] = []; + const flags: string[] = options.flags || []; flags.push(options.database ? 'CONNECT_WITH_DB' : '-CONNECT_WITH_DB'); return {