« get me outta code hell

find: fix not passing getMatchableDirectories through (???) - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-02-16 17:44:22 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-02-17 17:09:17 -0400
commit7afcef9689431d16cdb6908f37865499a9a05fbf (patch)
treed96962039e6810fb586469f4b5e931d915a76628 /src
parentb78cd632d6fe9c5c68acac43cc05f80fd12b3f4b (diff)
find: fix not passing getMatchableDirectories through (???)
unclear how this was not being used.
seems it would've broken artist aliases previously, not just now.
Diffstat (limited to 'src')
-rw-r--r--src/find.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/find.js b/src/find.js
index beee88cc..2d162af2 100644
--- a/src/find.js
+++ b/src/find.js
@@ -75,6 +75,7 @@ function findHelper({
 
   include = undefined,
   getMatchableNames = undefined,
+  getMatchableDirectories = undefined,
 }) {
   const keyRefRegex =
     new RegExp(String.raw`^(?:(${referenceTypes.join('|')}):(?=\S))?(.*)$`);
@@ -105,6 +106,7 @@ function findHelper({
         processAllAvailableMatches(data, {
           include,
           getMatchableNames,
+          getMatchableDirectories,
         });
 
       cache.set(data, subcache);