不要怂,就是干,撸起袖子干!

Commit 9bab0d9c by sdepold

added options.to parsing

1 parent 8290f44f
Showing with 4 additions and 1 deletions
......@@ -87,7 +87,10 @@ module.exports = (function() {
callback && callback(null, migrations)
}, { withoutEqual: true })
} else {
callback && callback(null, migrations)
if(self.options.to)
filterTo(migrations, self.options.to, callback)
else
callback && callback(null, migrations)
}
}).error(function(err) {
callback && callback(err, null)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!