Skip to content

Commit ad58845

Browse files
feat: oc installation
1 parent 2e56d8f commit ad58845

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/ask/ask.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func NewAskCommand() *cli.Command {
6969
}
7070

7171
pterm.Info.Println("Installing opencode...")
72-
installCmd := exec.Command("bash", "-c", "curl -fsSL https://opencode.ai/install | bash") // #nosec G204 -- install URL is hardcoded
72+
installCmd := exec.CommandContext(context.Background(), "bash", "-c", "curl -fsSL https://opencode.ai/install | bash") // #nosec G204 -- install URL is hardcoded
7373
installCmd.Stdin = os.Stdin
7474
installCmd.Stdout = os.Stdout
7575
installCmd.Stderr = os.Stderr

0 commit comments

Comments
 (0)