Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Feb 24, 2023
1 parent 61b2c25 commit 68aead4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/github/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"encoding/json"
"fmt"
"io/ioutil"
"io"
"net/http"

"github.com/apex/log"
Expand Down Expand Up @@ -34,7 +34,7 @@ func (gh *GitHub) RepoDetails(ctx context.Context, name string) (Repository, err
return repo, err
}

bts, err := ioutil.ReadAll(resp.Body)
bts, err := io.ReadAll(resp.Body)
if err != nil {
return repo, err
}
Expand Down

0 comments on commit 68aead4

Please sign in to comment.