chore: enable wrapcheck for new code #4798
Annotations
10 errors
internal/log/json.go#L41
error returned from external package is unwrapped: sig: func (*encoding/json.Encoder).Encode(v any) error (wrapcheck)
|
internal/log/json.go#L75
error returned from external package is unwrapped: sig: func (*bufio.Scanner).Err() error (wrapcheck)
|
internal/log/plain.go#L67
error returned from external package is unwrapped: sig: func fmt.Fprintf(w io.Writer, format string, a ...any) (n int, err error) (wrapcheck)
|
internal/exec/exec.go#L21
error returned from external package is unwrapped: sig: func os/exec.LookPath(file string) (string, error) (wrapcheck)
|
internal/exec/exec.go#L29
error returned from external package is unwrapped: sig: func (*os/exec.Cmd).CombinedOutput() ([]byte, error) (wrapcheck)
|
internal/exec/exec.go#L62
error returned from external package is unwrapped: sig: func (*os/exec.Cmd).Run() error (wrapcheck)
|
internal/exec/exec.go#L73
error returned from external package is unwrapped: sig: func syscall.Kill(pid int, sig syscall.Signal) (err error) (wrapcheck)
|
authn/authn.go#L49
error returned from external package is unwrapped: sig: func os/user.Current() (*os/user.User, error) (wrapcheck)
|
authn/authn.go#L116
error returned from external package is unwrapped: sig: func (*bufio.Scanner).Err() error (wrapcheck)
|
authn/authn.go#L128
error returned from external package is unwrapped: sig: func net/http.NewRequestWithContext(ctx context.Context, method string, url string, body io.Reader) (*net/http.Request, error) (wrapcheck)
|
This job failed
Loading