diff options
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 |
commit | 8e174abde6a6b9b46e2cf885115c58bedcfd0802 (patch) | |
tree | 0fd0b5f0bbffa0e0c11505b99c8bfe550a61b551 | |
parent | 0dcb532eaac79e5a3d2f8f633c967c3a7b80788c (diff) |
yaml: fix mis-nested errors in non-array reference fields
-rw-r--r-- | src/data/yaml.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js index f7856cb7..0ffe9682 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); |