diff --git a/README.md b/README.md index 5e6b0d2..a45f008 100644 --- a/README.md +++ b/README.md @@ -12,18 +12,28 @@ downloads, and other bitbucket concepts to you the terminal. # Installation -Currently, the only option to install bb is by compiling it from source. +## General -Make sure you have a working Go environment. Follow the -[Go install instructions](https://golang.org/doc/install). +Check out the (Releases)[https://github.com/craftamap/bb/releases] page where you +can find the latest releases built for every environment. + +## Arch / AUR + +```bash +yay bbcli-git +``` ## Using `go get` +Make sure you have a working Go environment. Follow the +[Go install instructions](https://golang.org/doc/install). ```bash go get github.com/craftamap/bb ``` ## Building from source +Make sure you have a working Go environment. Follow the +[Go install instructions](https://golang.org/doc/install). ```bash git clone https://github.com/craftamap/bb.git diff --git a/internal/repository.go b/internal/repository.go index 3550f85..a06dcbd 100644 --- a/internal/repository.go +++ b/internal/repository.go @@ -72,10 +72,10 @@ func (c Client) GetDefaultReviewers(repoOrga string, repoSlug string) (*DefaultR defer response.Body.Close() defaultReviewers := DefaultReviewers{} - err = json.NewDecoder(response.Body).Decode(&defaultReviewers) - if err != nil { + _ = json.NewDecoder(response.Body).Decode(&defaultReviewers) + /*if err != nil { return nil, err - } + }*/ return &defaultReviewers, nil }