Skip to content

Commit b1363c2

Browse files
authored
fix: invalid case on writeconcern makes skip check fail (#2773)
1 parent dfb03ad commit b1363c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/operations/connect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ function createUnifiedOptions(finalOptions, options) {
569569
'mongos_options'
570570
];
571571
const noMerge = ['readconcern', 'compression', 'autoencryption'];
572-
const skip = ['w', 'wtimeout', 'j', 'journal', 'fsync', 'writeConcern'];
572+
const skip = ['w', 'wtimeout', 'j', 'journal', 'fsync', 'writeconcern'];
573573

574574
for (const name in options) {
575575
if (skip.indexOf(name.toLowerCase()) !== -1) {

0 commit comments

Comments
 (0)