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

Commit d985fae4 by Mick Hansen

Merge pull request #1714 from edgarsilva/master

Fixes issue with migrations not being found when relative path for the m...
2 parents dda41926 51db8582
Showing with 1 additions and 1 deletions
......@@ -7,7 +7,7 @@ var moment = require("moment")
module.exports = (function() {
var Migration = function(migrator, p) {
this.migrator = migrator
this.path = path.normalize(p)
this.path = path.resolve(p)
this.filename = Utils._.last(this.path.split(path.sep))
var parsed = Migration.parseFilename(this.filename)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!