mirror of https://github.com/go-gitea/gitea.git
Browse Source
Enabe [`bodyclose`](https://golangci-lint.run/docs/linters/configuration/#bodyclose). The only issue in non-test code (`services/migrations/dump.go`) was a false-positive and I think there are a number of undetected cases, but I guess it's still better than not having it. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>pull/36014/merge
10 changed files with 19 additions and 3 deletions
Loading…
Reference in new issue