« get me outta code hell

find: stop providing thingConstructors to include() - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/find.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-01-23 20:16:30 -0400
committer(quasar) nebula <qznebula@protonmail.com>2026-01-23 20:16:30 -0400
commit723a8b9e79601f445fd83517ba93c75e93368b47 (patch)
tree1ca44d752356eb32240590fbb5e10db20af50999 /src/find.js
parent37c97832465dafd914caa4cbbea2512a25eed64a (diff)
find: stop providing thingConstructors to include()
Diffstat (limited to 'src/find.js')
-rw-r--r--src/find.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/find.js b/src/find.js
index 7b605e97..5740ebd4 100644
--- a/src/find.js
+++ b/src/find.js
@@ -70,7 +70,7 @@ export function processAvailableMatchesByName(data, fuzz, {
   multipleNameMatches = Object.create(null),
 }) {
   for (const thing of data) {
-    if (!include(thing, thingConstructors)) continue;
+    if (!include(thing)) continue;
 
     for (const name of getMatchableNames(thing)) {
       if (typeof name !== 'string') {