From 8e174abde6a6b9b46e2cf885115c58bedcfd0802 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 2 Nov 2023 13:58:34 -0300 Subject: yaml: fix mis-nested errors in non-array reference fields --- src/data/yaml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit 1.3.0-6-gf8a5