mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-28 14:29:05 +08:00
fix
This commit is contained in:
committed by
shawnps
parent
6c8fd82b88
commit
8d03567732
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user