Skip to content

Commit

Permalink
fix: fix a lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored and renovate[bot] committed Mar 21, 2024
1 parent be9a765 commit eda7087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const waitDelay = 1000 * time.Hour

func setCancel(cmd *exec.Cmd) {
cmd.Cancel = func() error {
return cmd.Process.Signal(os.Interrupt) //nolint:wrapcheck
return cmd.Process.Signal(os.Interrupt)
}
cmd.WaitDelay = waitDelay
}
Expand Down

0 comments on commit eda7087

Please sign in to comment.