« 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:
-rwxr-xr-xsrc/upd8.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 51957225..4bbdb95e 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -60,7 +60,6 @@ import {
   WIKI_INFO_FILE,
 } from './data/yaml.js';
 
-import find from './util/find.js';
 import {findFiles} from './util/io.js';
 import link from './util/link.js';
 import {isMain, traverse} from './util/node-utils.js';
@@ -646,25 +645,6 @@ async function main() {
 
   logInfo`Loaded language strings: ${Object.keys(languages).join(', ')}`;
 
-  {
-    const tagRefs = new Set(
-      [...wikiData.trackData, ...wikiData.albumData]
-        .flatMap((thing) => thing.artTagsByRef ?? []));
-
-    for (const ref of tagRefs) {
-      if (find.artTag(ref, wikiData.artTagData)) {
-        tagRefs.delete(ref);
-      }
-    }
-
-    if (tagRefs.size) {
-      for (const ref of Array.from(tagRefs).sort()) {
-        console.log(`\x1b[33;1m- Missing tag: "${ref}"\x1b[0m`);
-      }
-      return;
-    }
-  }
-
   const urls = generateURLs(urlSpec);
 
   await verifyImagePaths(mediaPath, {urls, wikiData});