Skip to content

Commit d1c5a9c

Browse files
fix lint
1 parent 4598130 commit d1c5a9c

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.evergreen/run-lint-checks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -o errexit # Exit the script with error if any of the commands fail
33

4-
source $DRIVERS_TOOLS/.evergreen/init-node-and-npm-env.sh
4+
# source $DRIVERS_TOOLS/.evergreen/init-node-and-npm-env.sh
55

66
# Attempt to update our EVG config
77
# if it changes, crash so that any gen script changes are forced to be run before pushing

src/mongo_client.ts

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -407,15 +407,12 @@ export class MongoClient extends TypedEventEmitter<MongoClientEvents> implements
407407
* The consolidate, parsed, transformed and merged options.
408408
*/
409409
public readonly options: Readonly<
410-
Omit<
411-
MongoOptions,
412-
'monitorCommands' | 'ca' | 'crl' | 'key' | 'cert' | 'driverInfo' | 'metadata'
413-
>
410+
Omit<MongoOptions, 'monitorCommands' | 'ca' | 'crl' | 'key' | 'cert' | 'driverInfo'>
414411
> &
415-
Pick<
416-
MongoOptions,
417-
'monitorCommands' | 'ca' | 'crl' | 'key' | 'cert' | 'driverInfo' | 'metadata'
418-
>;
412+
Pick<MongoOptions, 'monitorCommands' | 'ca' | 'crl' | 'key' | 'cert' | 'driverInfo'> & {
413+
/** @internal */
414+
metadata: Promise<ClientMetadata>;
415+
};
419416

420417
private driverInfoList: DriverInfo[] = [];
421418

@@ -1087,7 +1084,7 @@ export interface MongoOptions
10871084
compressors: CompressorName[];
10881085
writeConcern: WriteConcern;
10891086
dbName: string;
1090-
/** @internal - Will be made internal in a future major release. */
1087+
/** @internal */
10911088
metadata: Promise<ClientMetadata>;
10921089
/** @internal */
10931090
autoEncrypter?: AutoEncrypter;

0 commit comments

Comments
 (0)