bredikhin / barrels

Simple DB Fixtures for Sails.js
MIT License
85 stars 34 forks source link

Fixed problem with population when fixtures not loaded #1

Closed mikaelhm closed 10 years ago

mikaelhm commented 10 years ago

Did the previous version actually work for you?

I had to go in and fix the check for whether data is loaded in the beginning of population. To do so, I had to take out the actual population code in a separate function.

Hope you will accept the PR and update the NPM version.