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 25c31c3 commit 581b973Copy full SHA for 581b973
download/proxy.go
@@ -91,7 +91,6 @@ func (c *ProxyClient) LatestVersion(path string) (string, error) {
91
defer resp.Body.Close()
92
93
if resp.StatusCode != http.StatusOK {
94
- b, _ := io.ReadAll(resp.Body)
95
return "", fmt.Errorf("could not get latest module version from %s", u)
96
}
97
0 commit comments