From 21b12b8d4a8e642dd04ff5425724b91899704abe Mon Sep 17 00:00:00 2001 From: Larsenv Date: Thu, 19 Oct 2023 18:52:01 -0500 Subject: [PATCH] Remove extra print --- src/lib/riitag/banner.js | 1 - src/lib/utils/fileUtils.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/lib/riitag/banner.js b/src/lib/riitag/banner.js index 35cde47..504ff60 100755 --- a/src/lib/riitag/banner.js +++ b/src/lib/riitag/banner.js @@ -111,7 +111,6 @@ export async function makeBanner(user) { // Background image const bgPath = path.resolve(!Number.isNaN(Number(user.background.replace(/.*\//, '').replace(/\.png$/, ''))) ? CACHE.BACKGROUNDS : PUBLIC.BACKGROUND, user.background); - console.log(bgPath); if (!(await exists(bgPath))) { throw new Error(`Background ${user.background} does not exist`); } diff --git a/src/lib/utils/fileUtils.js b/src/lib/utils/fileUtils.js index e641f58..e9dad24 100755 --- a/src/lib/utils/fileUtils.js +++ b/src/lib/utils/fileUtils.js @@ -11,8 +11,6 @@ export async function saveFile(filepath, file) { await fs.promises.mkdir(path.dirname(filepath), { recursive: true }); } - console.log(file) - const fileStream = fs.createWriteStream(filepath); try {