Skip to content

Commit 4395110

Browse files
fernandolguevaradaprahamian
authored andcommitted
chore(MongoClient): add missing legacy option name on warning message
1 parent 297d843 commit 4395110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/operations/mongo_client_ops.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ function validOptions(options) {
593593

594594
if (legacyOptionNames.indexOf(name) !== -1) {
595595
console.warn(
596-
`the server/replset/mongos options are deprecated, ` +
596+
`the server/replset/mongos/db options are deprecated, ` +
597597
`all their options are supported at the top level of the options object [${validOptionNames}]`
598598
);
599599
}

0 commit comments

Comments
 (0)