seanemmer / mongoose-seed

Seed data population for Mongoose
MIT License
52 stars 33 forks source link

fixed cb error in example code in README file #10

Closed gtatyous closed 7 years ago

gtatyous commented 7 years ago

many people are getting the "cb" error when they follow the example code. I fixed that inside the README file, however, I have indicated that the cb function should disconnect the database and I do not think mongoose-seed library provides the proper function to do so. Just something to add in the next version of this library