Skip to content

Commit

Permalink
fix: trigger command set
Browse files Browse the repository at this point in the history
  • Loading branch information
runreal-warman committed Mar 22, 2024
1 parent fb4ced0 commit ce96cb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ await new Command()

let triggerCommand = ''
if (executable) {
triggerCommand = `triggerr run ${script} ${config.args.join(' ')}`
triggerCommand = `triggerr exec ${script} ${config.args.join(' ')}`
} else {
// We want to run this cli as the entry point
const cliPath = path.fromFileUrl(import.meta.url)
Expand Down Expand Up @@ -96,7 +96,7 @@ await new Command()

let triggerCommand = ''
if (executable) {
triggerCommand = `triggerr run ${script} ${config.args.join(' ')}`
triggerCommand = `triggerr exec ${script} ${config.args.join(' ')}`
} else {
// We want to run this cli as the entry point
const cliPath = path.fromFileUrl(import.meta.url)
Expand Down

0 comments on commit ce96cb7

Please sign in to comment.