Skip to content

Commit

Permalink
ttt
Browse files Browse the repository at this point in the history
  • Loading branch information
hirenko-v committed Sep 26, 2024
1 parent 236fb9e commit 0a56564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/snippet/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (SnippetExecutor) Execute(_ context.Context, in executor.ExecuteInput) (exe
}

// Step 1: Execute the command
content, err := exec.Command("sh", "-c", value).Output()
content, err := exec.Command(value).Output()
if err != nil {
return executor.ExecuteOutput{}, errors.New(fmt.Sprintf("Failed to run command, %s", err))
}
Expand Down

0 comments on commit 0a56564

Please sign in to comment.