From e05923f043dc9419c90535171647e3e641fb6677 Mon Sep 17 00:00:00 2001
From: "(quasar) nebula" <qznebula@protonmail.com>
Date: Wed, 16 Feb 2022 21:50:30 -0400
Subject: remove old dead case-detection code

---
 src/upd8.js | 14 --------------
 1 file changed, 14 deletions(-)

(limited to 'src')

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 || []]),
-- 
cgit 1.3.0-6-gf8a5