Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnps committed Dec 3, 2024
1 parent 6c8fd82 commit 8d03567
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion download/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 8d03567

Please sign in to comment.