We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9f3a1d commit cb04629Copy full SHA for cb04629
dev-tools/mage/downloads/utils.go
@@ -46,7 +46,7 @@ func downloadFile(downloadRequest *downloadRequest) error {
46
req.Header.Add("If-Modified-Since", stat.ModTime().Format(http.TimeFormat))
47
}
48
49
- resp, err := http.DefaultClient.Do(req) //nolint:bodyclose // we do close this outside of the function
+ resp, err := http.DefaultClient.Do(req)
50
if err != nil {
51
retryCount++
52
return fmt.Errorf("downloading file %s: %w", downloadRequest.URL, err)
0 commit comments