Skip to content

Commit 866b8fb

Browse files
committed
chore: push warnings
1 parent d8f2e9d commit 866b8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/config/createUserConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function createUserConfig({ args }: { args: string[] }): {
4646
// TODO: Separate correctly parsed user config from all other valid
4747
// arguments relevant to mongosh's args-parser.
4848
const userConfig: UserConfig = { ...parsed, ...configParseResult.data };
49-
warnIfVectorSearchNotEnabledCorrectly(userConfig);
49+
warnings.push(...warnIfVectorSearchNotEnabledCorrectly(userConfig));
5050
registerKnownSecretsInRootKeychain(userConfig);
5151
return {
5252
parsed: userConfig,

0 commit comments

Comments
 (0)