Skip to content

Commit 1e4755e

Browse files
committed
chore: update comments
1 parent b9d71ec commit 1e4755e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/mongo_client.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -810,13 +810,13 @@ export interface MongoOptions
810810
* to a no-op and `rejectUnauthorized` to the inverse value of `tlsAllowInvalidCertificates`. If
811811
* `tlsAllowInvalidCertificates` is not set, then `rejectUnauthorized` will be set to `true`.
812812
*
813-
* ### Note on `tlsCAFile` and `tlsCertificateKeyFile`
813+
* ### Note on `tlsCAFile`, `tlsCertificateKeyFile` and `tlsCRLFile`
814814
*
815-
* The files specified by the paths passed in to the `tlsCAFile` and `tlsCertificateKeyFile` fields
816-
* are read lazily on the first call to `MongoClient.connect`. Once these files have been read and
817-
* the `ca`, `cert` and `key` fields are populated, they will not be read again on subsequent calls to
815+
* The files specified by the paths passed in to the `tlsCAFile`, `tlsCertificateKeyFile` and `tlsCRLFile`
816+
* fields are read lazily on the first call to `MongoClient.connect`. Once these files have been read and
817+
* the `ca`, `cert`, `crl` and `key` fields are populated, they will not be read again on subsequent calls to
818818
* `MongoClient.connect`. As a result, until the first call to `MongoClient.connect`, the `ca`,
819-
* `cert` and `key` fields will be undefined.
819+
* `cert`, `crl` and `key` fields will be undefined.
820820
*/
821821
tls: boolean;
822822
tlsCAFile?: string;

0 commit comments

Comments
 (0)