From 991494c04da8c6a6cf4b553a4f1f43e805954d31 Mon Sep 17 00:00:00 2001 From: pheralb Date: Sat, 16 Dec 2023 20:18:23 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Clean=20check-size=20output.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- check-size/index.mjs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/check-size/index.mjs b/check-size/index.mjs index 054f409..7e28bc0 100644 --- a/check-size/index.mjs +++ b/check-size/index.mjs @@ -41,15 +41,9 @@ export async function checkSize() { } catch (err) { console.error(`- ❌ ${err.message}`); } finally { - // Print the results console.log(`- 📁 Directory: ${dir}`); console.log(`- 📏 Size limit: ${convertBytes(sizeLimit)} bytes`); console.log(`- 📏 Max size found: ${convertBytes(maxSize, 'MB')}`); - if (maxFiles.length > 0) { - maxFiles.forEach((file) => { - console.log(`- 📄 File: ${file} - 📦 Size: ${convertBytes(maxSize, 'KB')}`); - }); - } } }