Fix incorrect migrate file path in stf local. Fixes #535 and #509.

This commit is contained in:
Simo Kinnunen
2017-02-09 17:16:10 +09:00
parent 385acc4ff2
commit 083a2a1f92

View File

@@ -403,6 +403,6 @@ module.exports.handler = function(argv) {
})
}
return procutil.fork(__filename, ['migrate'])
return procutil.fork(path.resolve(__dirname, '..'), ['migrate'])
.done(run)
}