« get me outta code hell

checks, yaml, etc: pass find to filterReferenceErrors - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/yaml.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-11-14 20:04:18 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-11-15 20:40:14 -0400
commit2d5f323bb4da3cdedc5814491f841e4154478f69 (patch)
treec755de2e4888ddf73b396a0506d8ff3ad8f2b017 /src/data/yaml.js
parent5a7500688040fc19940adf0e2d0d96a0f75d014b (diff)
checks, yaml, etc: pass find to filterReferenceErrors
Diffstat (limited to 'src/data/yaml.js')
-rw-r--r--src/data/yaml.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js
index 725f4f3a..b2143625 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -1314,6 +1314,7 @@ export function sortWikiDataArrays(dataSteps, wikiData) {
 // where reporting info about data loading isn't as relevant as during the
 // main wiki build process.
 export async function quickLoadAllFromYAML(dataPath, {
+  find,
   bindFind,
   getAllFindSpecs,
 
@@ -1350,7 +1351,7 @@ export async function quickLoadAllFromYAML(dataPath, {
   }
 
   try {
-    filterReferenceErrors(wikiData, {bindFind}).close();
+    filterReferenceErrors(wikiData, {find, bindFind}).close();
     logInfo`No reference errors found. (complete data)`;
   } catch (error) {
     showAggregate(error);