Skip to content

Commit 1568484

Browse files
fix lint
1 parent 658a757 commit 1568484

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/cmap/stream_description.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ export class StreamDescription {
9191
return Long.isLong(serverConnectionId)
9292
? serverConnectionId.toBigInt()
9393
: // @ts-expect-error: Doubles are coercible to number
94-
BigInt(serverConnectionId);
94+
BigInt(serverConnectionId);
9595
}
9696
}

test/tools/runner/config.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as url from 'url';
55

66
import {
77
type AuthMechanism,
8-
CompressorName,
8+
type CompressorName,
99
HostAddress,
1010
MongoClient,
1111
type MongoClientOptions,
@@ -118,11 +118,11 @@ export class TestConfiguration {
118118
replicaSet: url.searchParams.get('replicaSet'),
119119
proxyURIParams: url.searchParams.get('proxyHost')
120120
? {
121-
proxyHost: url.searchParams.get('proxyHost'),
122-
proxyPort: Number(url.searchParams.get('proxyPort')),
123-
proxyUsername: url.searchParams.get('proxyUsername'),
124-
proxyPassword: url.searchParams.get('proxyPassword')
125-
}
121+
proxyHost: url.searchParams.get('proxyHost'),
122+
proxyPort: Number(url.searchParams.get('proxyPort')),
123+
proxyUsername: url.searchParams.get('proxyUsername'),
124+
proxyPassword: url.searchParams.get('proxyPassword')
125+
}
126126
: undefined
127127
};
128128
if (url.username) {
@@ -200,7 +200,7 @@ export class TestConfiguration {
200200
}
201201

202202
newClient(urlOrQueryOptions?: string | Record<string, any>, serverOptions?: MongoClientOptions) {
203-
const baseOptions = this.compressors.length > 0 ? { compressors: this.compressors } : {}
203+
const baseOptions = this.compressors.length > 0 ? { compressors: this.compressors } : {};
204204
serverOptions = Object.assign(baseOptions, getEnvironmentalOptions(), serverOptions);
205205
// Support MongoClient constructor form (url, options) for `newClient`.
206206
if (typeof urlOrQueryOptions === 'string') {

0 commit comments

Comments
 (0)