From 25907b14961a46dee48f27c00741294ee76ab779 Mon Sep 17 00:00:00 2001 From: Gar Date: Mon, 1 Mar 2021 11:03:43 -0800 Subject: [PATCH] fix(search): don't pass unused args 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. --- lib/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/search.js b/lib/search.js index 3f8fd99fb8ad8..feda13a8fbc9d 100644 --- a/lib/search.js +++ b/lib/search.js @@ -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)