Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ahobsonsayers committed Apr 29, 2024
1 parent 0419765 commit ddaeeb9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:

- name: Setup golangci-lint
uses: golangci/golangci-lint-action@v5
with:
version: v1.57

- name: Run Lint
run: task lint
Expand Down
2 changes: 1 addition & 1 deletion goodreads/goodreads.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (c *Client) GetBooksByIds(ctx context.Context, bookIds []string) ([]Book, e
}
}

return books, nil
return validBooks, nil
}

// GetBookByTitle gets a book by its title and optionally an author (which can give a better match)
Expand Down

0 comments on commit ddaeeb9

Please sign in to comment.