From 811b636a9f17d716f4bab7f25938d289d71871a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Fri, 25 Nov 2016 10:31:38 +0000 Subject: [PATCH] fix artillery start script --- spikes/leak/scripts/start.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spikes/leak/scripts/start.js b/spikes/leak/scripts/start.js index 1542802d..6f95bf26 100644 --- a/spikes/leak/scripts/start.js +++ b/spikes/leak/scripts/start.js @@ -23,7 +23,8 @@ const handler = ({ }, artillery: () => { const conf = path.join(__dirname, '../artillery/artillery-${MODE}.yml'); - return cp.exec(`../node_modules/.bin/artillery run ${conf}`); + const bin = path.join(__dirname, '../node_modules/.bin/artillery'); + return cp.exec(`${bin} run ${conf}`); } })[TYPE];