From ef2ee5e8097860c0d2e865dc33d7eeaf21a413bf Mon Sep 17 00:00:00 2001 From: imnyang Date: Fri, 9 May 2025 20:56:36 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A1=9C=EA=B9=85=EC=9D=80=20=EC=A2=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/lib/image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/image.ts b/app/lib/image.ts index e901ee4..b0cba67 100644 --- a/app/lib/image.ts +++ b/app/lib/image.ts @@ -21,7 +21,7 @@ export class CreateImage { const lines = mealInfo.meal.split("\n").reverse(); let emojis = (await NameToEmoji(lines.toString())).split(","); - console.log(emojis); + if (lines.length !== emojis.length) { console.error("Error: Emojis and lines count mismatch retrying..."); return this.PostMeal(MLSV_YMD);