Skip to content

Commit afd670b

Browse files
build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.4 to 1.1.5 (#4564)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent b78225b commit afd670b

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ require (
5959
github.com/julz/importas v0.1.0
6060
github.com/karamaru-alpha/copyloopvar v1.0.9
6161
github.com/kisielk/errcheck v1.7.0
62-
github.com/kkHAIKE/contextcheck v1.1.4
62+
github.com/kkHAIKE/contextcheck v1.1.5
6363
github.com/kulti/thelper v0.6.3
6464
github.com/kunwardeep/paralleltest v1.0.10
6565
github.com/kyoh86/exportloopref v0.1.11

go.sum

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/result/processors/invalid_issue.go

+2-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ func (p InvalidIssue) shouldPassIssue(issue *result.Issue) (bool, error) {
3333
}
3434

3535
if issue.FilePath() == "" {
36-
// contextcheck has a known bug https://github.com/kkHAIKE/contextcheck/issues/21
37-
if issue.FromLinter != "contextcheck" {
38-
p.log.Warnf("no file path for the issue: probably a bug inside the linter %q: %#v", issue.FromLinter, issue)
39-
}
36+
p.log.Warnf("no file path for the issue: probably a bug inside the linter %q: %#v", issue.FromLinter, issue)
4037

4138
return false, nil
4239
}
@@ -47,6 +44,7 @@ func (p InvalidIssue) shouldPassIssue(issue *result.Issue) (bool, error) {
4744

4845
if !isGoFile(issue.FilePath()) {
4946
p.log.Infof("issue related to file %s is skipped", issue.FilePath())
47+
5048
return false, nil
5149
}
5250

0 commit comments

Comments
 (0)