Skip to content

Commit 06fb91b

Browse files
committed
style: remove unnecessary parens to satisfy Biome formatter
Impact: 1 functions changed, 5 affected
1 parent 85b5238 commit 06fb91b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/queries.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ function resolveMethodViaHierarchy(db, methodName) {
164164
* Scoring: exact=100, prefix=60, word-boundary=40, substring=10, plus fan-in tiebreaker.
165165
*/
166166
export function findMatchingNodes(db, name, opts = {}) {
167-
const kinds = opts.kind ? [opts.kind] : (opts.kinds?.length ? opts.kinds : FUNCTION_KINDS);
167+
const kinds = opts.kind ? [opts.kind] : opts.kinds?.length ? opts.kinds : FUNCTION_KINDS;
168168
const placeholders = kinds.map(() => '?').join(', ');
169169
const params = [`%${name}%`, ...kinds];
170170

0 commit comments

Comments
 (0)