Skip to content

Commit

Permalink
Merge branch 'gagik/dropindex-throw-error' of github.com:mongodb-js/m…
Browse files Browse the repository at this point in the history
…ongosh into gagik/dropindex-throw-error
  • Loading branch information
gagik committed Oct 17, 2024
2 parents 54038e2 + c410db4 commit 8d45c13
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/cli-repl/src/cli-repl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1017,11 +1017,12 @@ export class CliRepl implements MongoshIOProvider {
}

async isTlsKeyFilePasswordMissingURI(
searchParams: unknown
searchParams: ReturnType<
typeof ConnectionString.prototype.typedSearchParams<DevtoolsConnectOptions>
>
): Promise<boolean> {
const searchMap = searchParams as Map<keyof DevtoolsConnectOptions, string>;
const tlsCertificateKeyFile = searchMap.get('tlsCertificateKeyFile');
const tlsCertificateKeyFilePassword = searchMap.get(
const tlsCertificateKeyFile = searchParams.get('tlsCertificateKeyFile');
const tlsCertificateKeyFilePassword = searchParams.get(
'tlsCertificateKeyFilePassword'
);

Expand Down

0 comments on commit 8d45c13

Please sign in to comment.