diff options
| 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 |
| commit | 723a8b9e79601f445fd83517ba93c75e93368b47 (patch) | |
| tree | 1ca44d752356eb32240590fbb5e10db20af50999 /src/find.js | |
| parent | 37c97832465dafd914caa4cbbea2512a25eed64a (diff) | |
find: stop providing thingConstructors to include()
Diffstat (limited to 'src/find.js')
| -rw-r--r-- | src/find.js | 2 |
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') { |