Skip to content

Commit

Permalink
style(MongoMemoryReplSet): fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hasezoey committed Jul 15, 2024
1 parent 4d5be4d commit bd8941b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ export class MongoMemoryReplSet extends EventEmitter implements ManagerAdvanced
const isInMemory = this.servers[0].instanceInfo?.storageEngine === 'ephemeralForTest';

const extraOptions = this._ranCreateAuth
? this.servers[0].instanceInfo?.instance.extraConnectionOptions ?? {}
? (this.servers[0].instanceInfo?.instance.extraConnectionOptions ?? {})
: {};

const con: MongoClient = await MongoClient.connect(uris[0], {
Expand Down

0 comments on commit bd8941b

Please sign in to comment.