Skip to content

Commit 581b973

Browse files
committed
fix
1 parent 25c31c3 commit 581b973

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

download/proxy.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ func (c *ProxyClient) LatestVersion(path string) (string, error) {
9191
defer resp.Body.Close()
9292

9393
if resp.StatusCode != http.StatusOK {
94-
b, _ := io.ReadAll(resp.Body)
9594
return "", fmt.Errorf("could not get latest module version from %s", u)
9695
}
9796

0 commit comments

Comments
 (0)