Merge pull request #3185 from chengzhichao-xydt/codex/updater-checksum-body-close

fix(updater): explicitly ignore resp2.Body.Close() error after io.ReadAll
This commit is contained in:
Mauro 2026-06-26 18:10:21 +02:00 committed by GitHub
commit 9bc8d15685
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -352,7 +352,7 @@ func findAssetInfo(releaseURL, platform, arch string) (string, string, error) {
continue
}
bs, err := io.ReadAll(resp2.Body)
resp2.Body.Close()
_ = resp2.Body.Close()
if err != nil {
continue
}