« 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/checks.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/checks.js
parent5a7500688040fc19940adf0e2d0d96a0f75d014b (diff)
checks, yaml, etc: pass find to filterReferenceErrors
Diffstat (limited to 'src/data/checks.js')
-rw-r--r--src/data/checks.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/data/checks.js b/src/data/checks.js
index 8c8e7a5d..cbc4ce0b 100644
--- a/src/data/checks.js
+++ b/src/data/checks.js
@@ -172,6 +172,7 @@ function getFieldPropertyMessage(yamlDocumentSpec, property) {
 // any errors). At the same time, we remove errored references from the thing's
 // data array.
 export function filterReferenceErrors(wikiData, {
+  find,
   bindFind,
 }) {
   const referenceSpec = [