diff options
Diffstat (limited to 'src/data')
-rw-r--r-- | src/data/checks.js | 1 | ||||
-rw-r--r-- | src/data/yaml.js | 3 |
2 files changed, 3 insertions, 1 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 = [ 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); |