Skip to content

Commit

Permalink
build(deps): bump github.com/kisielk/errcheck from 1.7.0 to 1.8.0 (#5074
Browse files Browse the repository at this point in the history
)

Co-authored-by: Fernandez Ludovic <[email protected]>
  • Loading branch information
dependabot[bot] and ldez authored Oct 17, 2024
1 parent 90c0509 commit 9966cab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ require (
github.com/jjti/go-spancheck v0.6.2
github.com/julz/importas v0.1.0
github.com/karamaru-alpha/copyloopvar v1.1.0
github.com/kisielk/errcheck v1.7.0
github.com/kisielk/errcheck v1.8.0
github.com/kkHAIKE/contextcheck v1.1.5
github.com/kulti/thelper v0.6.3
github.com/kunwardeep/paralleltest v1.0.10
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/golinters/errcheck/testdata/errcheck_type_assertions.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//golangcitest:args -Eerrcheck
//golangcitest:config_path testdata/errcheck_type_assertions.yml
//golangcitest:expected_exitcode 0
//golangcitest:expected_exitcode 1
package testdata

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

0 comments on commit 9966cab

Please sign in to comment.