« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/data/checks.js3
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;
         }
       }