mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
fix artillery start script
This commit is contained in:
parent
5984958dba
commit
811b636a9f
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user