Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in error message thrown by unimplemented createIndex #9367

Merged

Conversation

timhaley94
Copy link
Contributor

Summary

I was reading through the lib/collection.js while working on a different project, and happened to notice what appears to be a typo in the error message thrown by Collection.prototype.createIndex. If createIndex is missing, it complains that ensureIndex is missing instead.

Perhaps, this is expected behavior, if so feel free to close it. Just thought I'd do my good deed for the day. 馃槃

Examples

I don't have a working example of this error being thrown.

Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@vkarpov15 vkarpov15 added this to the 5.10.2 milestone Aug 27, 2020
@vkarpov15 vkarpov15 merged commit ff3f30d into Automattic:master Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants