From 626958f62917e7eb6529b4ce21b68e6172c2b702 Mon Sep 17 00:00:00 2001 From: Nayam Amarshe <25067102+NayamAmarshe@users.noreply.github.com> Date: Mon, 11 Sep 2023 08:00:50 +0530 Subject: [PATCH] Remove console.log --- electron/commands/image-upscayl.ts | 5 +---- electron/utils/config-variables.ts | 12 ------------ 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/electron/commands/image-upscayl.ts b/electron/commands/image-upscayl.ts index 5b9415f..47f19ce 100644 --- a/electron/commands/image-upscayl.ts +++ b/electron/commands/image-upscayl.ts @@ -25,14 +25,11 @@ const imageUpscayl = async (event, payload) => { const mainWindow = getMainWindow(); if (!mainWindow) { - console.log("No main window"); + logit("No main window found"); return; } setOverwrite(payload.overwrite); - console.log({ - overwrite: payload.overwrite, - }); const model = payload.model as string; const gpuId = payload.gpuId as string; diff --git a/electron/utils/config-variables.ts b/electron/utils/config-variables.ts index f57bc61..84e4722 100644 --- a/electron/utils/config-variables.ts +++ b/electron/utils/config-variables.ts @@ -13,18 +13,6 @@ export let childProcesses: { kill: () => boolean; }[] = []; -console.log({ - imagePath, - folderPath, - customModelsFolderPath, - outputFolderPath, - saveOutputFolder, - quality, - overwrite, - stopped, - childProcesses, -}); - export function setImagePath(value: string | undefined): void { imagePath = value; }