Formatting by gofumpt

This commit is contained in:
9seconds
2026-02-16 17:10:06 +01:00
parent 8e87405d3e
commit 074c4017f5
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ func (h httpFile) Open(ctx context.Context) (io.ReadCloser, error) {
if err != nil {
if response != nil {
io.Copy(io.Discard, response.Body) //nolint: errcheck
response.Body.Close() //nolint: errcheck
response.Body.Close() //nolint: errcheck
}
return nil, fmt.Errorf("cannot get url %s: %w", h.url, err)