0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-12-17 15:39:20 +01:00
silverwind 84b74d7c3e
Enable bodyclose linter (#36168)
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>
2025-12-16 14:08:43 +01:00
..
2025-12-16 14:08:43 +01:00