Skip to content

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