Skip to content

Commit

Permalink
fix(search): don't pass unused args
Browse files Browse the repository at this point in the history
The searchopts get parsed and added to the query elsewhere, they're not
part of the `include` array they are an extra querystring that is added
to the search request.
  • Loading branch information
wraithgar committed Mar 1, 2021
1 parent 0c881fc commit 25907b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const search = async (args) => {
log.clearProgress()
}

function prepareIncludes (args, searchopts) {
function prepareIncludes (args) {
return args
.map(s => s.toLowerCase())
.filter(s => s)
Expand Down

0 comments on commit 25907b1

Please sign in to comment.