From 083a2a1f92534e03137f261d294d793a5101815e Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Thu, 9 Feb 2017 17:16:10 +0900 Subject: [PATCH] Fix incorrect migrate file path in stf local. Fixes #535 and #509. --- lib/cli/local/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/local/index.js b/lib/cli/local/index.js index 2d6dd646..ae58baa1 100644 --- a/lib/cli/local/index.js +++ b/lib/cli/local/index.js @@ -403,6 +403,6 @@ module.exports.handler = function(argv) { }) } - return procutil.fork(__filename, ['migrate']) + return procutil.fork(path.resolve(__dirname, '..'), ['migrate']) .done(run) }