« get me outta code hell

yaml: fix mis-nested errors in non-array reference fields - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-11-02 13:58:34 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-11-02 13:58:34 -0300
commit8e174abde6a6b9b46e2cf885115c58bedcfd0802 (patch)
tree0fd0b5f0bbffa0e0c11505b99c8bfe550a61b551
parent0dcb532eaac79e5a3d2f8f633c967c3a7b80788c (diff)
yaml: fix mis-nested errors in non-array reference fields
-rw-r--r--src/data/yaml.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js
index f7856cb..0ffe968 100644
--- a/src/data/yaml.js
+++ b/src/data/yaml.js
@@ -1662,7 +1662,7 @@ export function filterReferenceErrors(wikiData) {
           }
         }
 
-        nest({message: `Reference errors in ${inspect(thing)}`}, ({push, filter}) => {
+        nest({message: `Reference errors in ${inspect(thing)}`}, ({nest, push, filter}) => {
           for (const [property, findFnKey] of Object.entries(propSpec)) {
             const value = CacheableObject.getUpdateValue(thing, property);