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

remove undeclared (unnecessary) require('mongodb') call in 0.6 branch #367

Open
wants to merge 1 commit into
base: 0.6
Choose a base branch
from

Conversation

mizzao
Copy link

@mizzao mizzao commented Mar 18, 2015

The 0.6 mongo driver does a require("mongodb") even when a client is passed in. Because this require is undeclared, it caused issues with providing the right Mongo driver in settings like a Meteor app:

meteor/meteor#532
mizzao/meteor-sharejs#22

I know this is old code, and it probably won't be reviewed. But I generally try to create pull requests for things I fix rather than hiding dangling commits everywhere. :)

@mizzao mizzao changed the title remove undeclared require('mongodb') call in 0.6 branch remove undeclared (unnecessary) require('mongodb') call in 0.6 branch Mar 18, 2015
@moof2k
Copy link

moof2k commented Mar 28, 2015

+1

thanks @mizzao !

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.

2 participants