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
+1 -1
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
}