Skip to content

Commit

Permalink
chore(MongoClient): add missing legacy option name on warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandolguevara authored and daprahamian committed Jul 13, 2018
1 parent 297d843 commit 4395110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/operations/mongo_client_ops.js
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ function validOptions(options) {

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

0 comments on commit 4395110

Please sign in to comment.