1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 14:10:04 +02:00

fix artillery start script

This commit is contained in:
Sérgio Ramos 2016-11-25 10:31:38 +00:00
parent 5984958dba
commit 811b636a9f

View File

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