From e5b05128841e85824d6f9fdb0058071351df53e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=B6rdle=20Bot?= Date: Sun, 23 Nov 2025 17:17:21 +0100 Subject: [PATCH] chore: remove unnecessary console logs --- lib/dailyPuzzle.ts | 2 +- scripts/migrate-covers.mjs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/dailyPuzzle.ts b/lib/dailyPuzzle.ts index fa76269..aa3378b 100644 --- a/lib/dailyPuzzle.ts +++ b/lib/dailyPuzzle.ts @@ -27,7 +27,7 @@ export async function getOrCreateDailyPuzzle(genreName: string | null = null) { include: { song: true }, }); - console.log(`[Daily Puzzle] Date: ${today}, Genre: ${genreName || 'Global'}, Found existing: ${!!dailyPuzzle}`); + if (!dailyPuzzle) { // Get songs available for this genre diff --git a/scripts/migrate-covers.mjs b/scripts/migrate-covers.mjs index 7198a11..edd62f5 100644 --- a/scripts/migrate-covers.mjs +++ b/scripts/migrate-covers.mjs @@ -48,8 +48,6 @@ async function migrate() { }); console.log(`✅ Extracted cover for ${song.title}`); - } else { - console.log(`⚠️ No cover found for ${song.title}`); } } catch (e) { console.error(`❌ Failed to process ${song.title}:`, e.message);