diff options
-rw-r--r-- | src/data/checks.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/data/checks.js b/src/data/checks.js index f5aa551f..4dc1e1d0 100644 --- a/src/data/checks.js +++ b/src/data/checks.js @@ -208,6 +208,10 @@ export function filterReferenceErrors(wikiData, { flashes: 'flash', }], + ['groupData', { + serieses: '_serieses', + }], + ['trackData', { artistContribs: '_contrib', contributorContribs: '_contrib', @@ -258,6 +262,15 @@ export function filterReferenceErrors(wikiData, { // need writing, humm...) writeProperty = false; break; + + case '_serieses': + if (value) { + // Doesn't report on which series has the error, but... + value = value.flatMap(series => series.albums); + } + + writeProperty = false; + break; } if (value === undefined) { @@ -294,6 +307,10 @@ export function filterReferenceErrors(wikiData, { }; break; + case '_serieses': + findFn = boundFind.album; + break; + case '_trackNotRerelease': findFn = trackRef => { const track = boundFind.track(trackRef); |