Skip to content

Prevent error in lack of migrations#191

Open
jonasof wants to merge 1 commit into
coresmart:masterfrom
jonasof:master
Open

Prevent error in lack of migrations#191
jonasof wants to merge 1 commit into
coresmart:masterfrom
jonasof:master

Conversation

@jonasof

@jonasof jonasof commented Jul 2, 2016

Copy link
Copy Markdown

If there is no migrations, the method migrateOne throw one error. This happen because the code don't stop after "callback()", so added "return" also;

@jonasof jonasof changed the title Prevent error in lack of migrations Prevent error on lack of migrations Jul 2, 2016
@jonasof jonasof changed the title Prevent error on lack of migrations Prevent error in lack of migrations Jul 2, 2016
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.

1 participant