fix(updater): explicitly ignore resp2.Body.Close() error after io.ReadAll
This commit is contained in:
parent
dff16dbb91
commit
583d9e1e14
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue