« get me outta code hell

remove old dead case-detection code - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-02-16 21:50:30 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-02-16 21:50:30 -0400
commite05923f043dc9419c90535171647e3e641fb6677 (patch)
treea6e21b81a9e2193e9696849243181bde87936a0d /src/upd8.js
parentad079e0c9e6ab32203bc684851e586ed10c3378c (diff)
remove old dead case-detection code
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 56fbd648..a797170f 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -2942,20 +2942,6 @@ async function main() {
         }
     }
 
-    {
-        const artists = [];
-        const artistsLC = [];
-        for (const name of artistRefs) {
-            if (!artists.includes(name) && artistsLC.includes(name.toLowerCase())) {
-                const other = artists.find(oth => oth.toLowerCase() === name.toLowerCase());
-                console.log(`\x1b[31;1mMiscapitalized artist name: ${name}, ${other}\x1b[0m`);
-                return;
-            }
-            artists.push(name);
-            artistsLC.push(name.toLowerCase());
-        }
-    }
-
     WD.contributionData = Array.from(new Set([
         ...WD.trackData.flatMap(track => [...track.artists || [], ...track.contributors || [], ...track.coverArtists || []]),
         ...WD.albumData.flatMap(album => [...album.artists || [], ...album.coverArtists || [], ...album.wallpaperArtists || [], ...album.bannerArtists || []]),