Skip to content

Commit

Permalink
test extended linting
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev committed Mar 14, 2024
1 parent 02ddfc5 commit d2bc8f5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cnquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ func GetLatestReleaseName(releaseUrl string, client *http.Client) (string, error
}

body, err := io.ReadAll(resp.Body)
if err != nil {
return "", fmt.Errorf("error reading response body: %v", err)
}

var release Release
if err := json.Unmarshal(body, &release); err != nil {
Expand Down

0 comments on commit d2bc8f5

Please sign in to comment.