diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-06-06 18:15:29 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-06-06 18:16:08 -0300 |
commit | 9c242a4bdeb779b7ffd9244d3b1f244fb3df2ecf (patch) | |
tree | 40d581faf03133555e7adaea675cf84c17c8d6cd | |
parent | 69e016ca53189d61feb7b0e7be3dca8b6df3e9e8 (diff) |
checks: reportDirectoryErrors: fix error in deduplicate logic
-rw-r--r-- | src/data/checks.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/data/checks.js b/src/data/checks.js index f3741a19..ad621bab 100644 --- a/src/data/checks.js +++ b/src/data/checks.js @@ -95,6 +95,7 @@ export function reportDirectoryErrors(wikiData, { const seenDuplicateSets = new Map(); const deduplicateDuplicateSets = []; + iterateSets: for (const set of duplicateSets) { if (seenDuplicateSets.has(set.directory)) { const placeLists = seenDuplicateSets.get(set.directory); @@ -106,7 +107,7 @@ export function reportDirectoryErrors(wikiData, { // Two artists named Foodog aren't going to match two tracks named // Foodog. if (compareArrays(places, set.places, {checkOrder: false})) { - continue; + continue iterateSets; } } |