Skip to content

Commit 2ff5e71

Browse files
refactor: fix a lint error
1 parent 1f63b11 commit 2ff5e71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/aquaproj/aqua-proxy
22

3-
go 1.19
3+
go 1.22.1
44

55
require (
66
github.com/suzuki-shunsuke/go-error-with-exit-code v1.0.0

Diff for: pkg/cli/proxy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const waitDelay = 1000 * time.Hour
4444

4545
func setCancel(cmd *exec.Cmd) {
4646
cmd.Cancel = func() error {
47-
return cmd.Process.Signal(os.Interrupt) //nolint:wrapcheck
47+
return cmd.Process.Signal(os.Interrupt)
4848
}
4949
cmd.WaitDelay = waitDelay
5050
}

0 commit comments

Comments
 (0)