This commit is contained in:
80111+shawnps@users.noreply.github.com
2024-12-03 18:15:00 +09:00
committed by shawnps
parent 6c8fd82b88
commit 8d03567732

View File

@@ -91,7 +91,6 @@ func (c *ProxyClient) LatestVersion(path string) (string, error) {
defer resp.Body.Close()
if resp.StatusCode != http.StatusOK {
b, _ := io.ReadAll(resp.Body)
return "", fmt.Errorf("could not get latest module version from %s", u)
}