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

Commit 9bab0d9c by sdepold

added options.to parsing

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