From 581b9736c40276708e7e59d9f5b27e5696b995ab Mon Sep 17 00:00:00 2001 From: "80111+shawnps@users.noreply.github.com" <80111+shawnps@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:15:00 +0900 Subject: [PATCH] fix --- download/proxy.go | 1 - 1 file changed, 1 deletion(-) diff --git a/download/proxy.go b/download/proxy.go index ca7609b6..65f10bc4 100644 --- a/download/proxy.go +++ b/download/proxy.go @@ -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) }