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];