From c590a8be2799bf4ae2c4bdb1c7fe8aa9e02040af Mon Sep 17 00:00:00 2001 From: asepharyana Date: Sat, 15 Aug 2026 23:11:31 +0700 Subject: [PATCH] style(gateway): biome format fix for imageResizer (unblock CI gate) imageResizer.ts had a line exceeding the print width that biome flagged as a formatter error, failing the Build & Deploy biome check. Re-format the file. No logic change. --- .../src/modules/attachment-upload/imageResizer.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/discord-gateway/src/modules/attachment-upload/imageResizer.ts b/services/discord-gateway/src/modules/attachment-upload/imageResizer.ts index f10ce40..85d510a 100644 --- a/services/discord-gateway/src/modules/attachment-upload/imageResizer.ts +++ b/services/discord-gateway/src/modules/attachment-upload/imageResizer.ts @@ -43,7 +43,9 @@ export async function resizeImageForVision( originalSize: buf.length, originalFormat: inputFormat, resizedSize: resized.length, - reductionPct: Math.round(((buf.length - resized.length) / buf.length) * 100), + reductionPct: Math.round( + ((buf.length - resized.length) / buf.length) * 100, + ), }, "Image resized for vision analysis (JPEG)", );