Skip to content

Commit

Permalink
Merge pull request #11020 from ItWorksOnMyMachine/master
Browse files Browse the repository at this point in the history
Remove duplicate "path" in comment.
  • Loading branch information
vkarpov15 committed Nov 29, 2021
2 parents 707e2bd + ffbc99a commit d459fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/options/SchemaTypeOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Object.defineProperty(SchemaTypeOptions.prototype, 'cast', opts);

/**
* If true, attach a required validator to this path, which ensures this path
* path cannot be set to a nullish value. If a function, Mongoose calls the
* cannot be set to a nullish value. If a function, Mongoose calls the
* function and only checks for nullish values if the function returns a truthy value.
*
* @api public
Expand Down

0 comments on commit d459fbe

Please sign in to comment.