Skip to content

Commit

Permalink
fix: invalid case on writeconcern makes skip check fail (#2773)
Browse files Browse the repository at this point in the history
  • Loading branch information
unusualbob authored Apr 8, 2021
1 parent dfb03ad commit b1363c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/operations/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ function createUnifiedOptions(finalOptions, options) {
'mongos_options'
];
const noMerge = ['readconcern', 'compression', 'autoencryption'];
const skip = ['w', 'wtimeout', 'j', 'journal', 'fsync', 'writeConcern'];
const skip = ['w', 'wtimeout', 'j', 'journal', 'fsync', 'writeconcern'];

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

0 comments on commit b1363c2

Please sign in to comment.