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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace var with const in docs and test files #9414

Merged
merged 1 commit into from Sep 13, 2020

Conversation

jmadankumar
Copy link
Contributor

Summary

Documentation and test cases are using the old var keyword for variable declaration. This makes the document look outdated. This PR fixes the variable declaration using const and let in the documentation and test cases.

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.6 milestone Sep 13, 2020
@vkarpov15 vkarpov15 added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Sep 13, 2020
@vkarpov15 vkarpov15 merged commit 80473b3 into Automattic:master Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants