Skip to content

Commit

Permalink
fix: use npx to spawn artillery cli (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito authored Aug 25, 2023
1 parent be64c37 commit b9eb6f0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,7 @@ export async function activate(context: vscode.ExtensionContext) {
const terminal = vscode.window.createTerminal()
terminal.show()

/**
* @todo Check if the Artillery CLI is installed.
* If not, prompt to install it.
* We can also have an "Install Artillery CLI" as a command,
* reusing it here.
*/
const runCommand = `artillery run ${testScriptPath}`
const runCommand = `npx artillery run ${testScriptPath}`
terminal.sendText(runCommand, true)
},
),
Expand Down

0 comments on commit b9eb6f0

Please sign in to comment.