Skip to content

Commit ba68438

Browse files
committed
update README.md
1 parent 0f65d19 commit ba68438

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,8 @@ brew install scdl
3434
### Manual
3535

3636
```bash
37-
# go get :)
38-
go get https://github.com/imthaghost/scdl
39-
# change to project directory using your GOPATH
40-
cd $GOPATH/src/github.com/imthaghost/scdl/cmd/scdl
41-
# build and install application
42-
go install
37+
# go install :)
38+
go install github.com/imthaghost/scdl/cmd/scdl@latest
4339
```
4440

4541
### Binary

pkg/soundcloud/get_client_id.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func (s *Soundcloud) GetClientID() (string, error) {
2222
// Read the response body
2323
body, err := io.ReadAll(resp.Body)
2424
if err != nil {
25-
log.Fatalf("failed to read response body: %v", err)
25+
log.Printf("failed to read response body: %v", err)
2626
return "", fmt.Errorf("failed to read response body: %v", err)
2727
}
2828

@@ -49,7 +49,7 @@ func (s *Soundcloud) GetClientID() (string, error) {
4949
// Read the response body
5050
body, err := io.ReadAll(resp.Body)
5151
if err != nil {
52-
log.Fatalf("failed to read response body: %v", err)
52+
log.Printf("failed to read response body: %v\n", err)
5353
return "", fmt.Errorf("failed to read response body: %v", err)
5454
}
5555

0 commit comments

Comments
 (0)