Skip to content

Commit d491592

Browse files
ldezalexandear
andauthored
review
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
1 parent 10827ca commit d491592

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/golinters/govet.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,9 @@ func isAnalyzerEnabled(name string, cfg *config.GovetSettings, defaultAnalyzers
189189
return false
190190
}
191191

192-
// TODO(ldez) remove httpresponse because of a panic.
193-
// https://github.com/golangci/golangci-lint/issues/4482
194-
// https://github.com/golang/go/issues/66259
192+
// TODO(ldez) enable httpresponse once https://github.com/golang/go/issues/66259 is fixed.
195193
if name == httpresponse.Analyzer.Name {
194+
govetDebugf("httpresponse is disabled due to panic. See https://github.com/golangci/golangci-lint/issues/4482")
196195
return false
197196
}
198197

0 commit comments

Comments
 (0)