build(deps): bump golang.org/x/term from 0.18.0 to 0.20.0 #747
Annotations
3 errors and 5 warnings
Run staticcheck:
envutil/envutil_test.go#L102
[staticcheck] reported by reviewdog 🐶
variadic argument "kvPairs" is expected to have even number of elements, but has 3 elements
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"variadic argument \"kvPairs\" is expected to have even number of elements, but has 3 elements","code":{"value":"SA5012","url":"https://staticcheck.io/docs/checks#SA5012"},"location":{"path":"/home/runner/work/goutil/goutil/envutil/envutil_test.go","range":{"start":{"line":102,"column":11}}},"severity":"ERROR"}
|
Run staticcheck:
reflects/util.go#L13
[staticcheck] reported by reviewdog 🐶
func loopIndirect is unused
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"func loopIndirect is unused","code":{"value":"U1000","url":"https://staticcheck.io/docs/checks#U1000"},"location":{"path":"/home/runner/work/goutil/goutil/reflects/util.go","range":{"start":{"line":13,"column":6}}},"severity":"ERROR"}
|
Run staticcheck
Process completed with exit code 1.
|
Revive check:
envutil/envutil_test.go#L79
parameter 'eVal' seems to be unused, consider removing or renaming it as _
|
Revive check:
sysutil/user_nonwin.go#L21
func ChangeUserUidGid should be ChangeUserUIDGid
|
Revive check:
strutil/convbase.go#L15
exported const Base10Chars should have comment (or a comment on this block) or be unexported
|
Revive check:
structs/tags.go#L227
parameter 'field' seems to be unused, consider removing or renaming it as _
|
Revive check:
testutil/httpmock.go#L31
func NewHttpRequest should be NewHTTPRequest
|
Loading