Skip to content

Commit 9966cab

Browse files
build(deps): bump github.com/kisielk/errcheck from 1.7.0 to 1.8.0 (#5074)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent 90c0509 commit 9966cab

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ require (
6060
github.com/jjti/go-spancheck v0.6.2
6161
github.com/julz/importas v0.1.0
6262
github.com/karamaru-alpha/copyloopvar v1.1.0
63-
github.com/kisielk/errcheck v1.7.0
63+
github.com/kisielk/errcheck v1.8.0
6464
github.com/kkHAIKE/contextcheck v1.1.5
6565
github.com/kulti/thelper v0.6.3
6666
github.com/kunwardeep/paralleltest v1.0.10

go.sum

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//golangcitest:args -Eerrcheck
22
//golangcitest:config_path testdata/errcheck_type_assertions.yml
3-
//golangcitest:expected_exitcode 0
3+
//golangcitest:expected_exitcode 1
44
package testdata
55

66
func ErrorTypeAssertion(filter map[string]interface{}) bool {
7-
return filter["messages_sent.messageid"].(map[string]interface{})["$ne"] != nil
7+
return filter["messages_sent.messageid"].(map[string]interface{})["$ne"] != nil // want "Error return value is not checked"
88
}

0 commit comments

Comments
 (0)