From 529931c43b9fb774fe657e2cfe38e5a09dd7113f Mon Sep 17 00:00:00 2001 From: Shiba <44804845+DeepDoge@users.noreply.github.com> Date: Wed, 28 Sep 2022 14:38:37 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=99=20removed=20console.log=20s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/yt/urlCache.ts | 1 - src/scripts/background.ts | 1 - src/scripts/ytContent.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/src/modules/yt/urlCache.ts b/src/modules/yt/urlCache.ts index b2c58c1..897d725 100644 --- a/src/modules/yt/urlCache.ts +++ b/src/modules/yt/urlCache.ts @@ -75,7 +75,6 @@ async function get(id: string): Promise { await clearExpired() return undefined } - console.log('cache found', id, response.value) return response.value } diff --git a/src/scripts/background.ts b/src/scripts/background.ts index 3996ccf..9b5f7fb 100644 --- a/src/scripts/background.ts +++ b/src/scripts/background.ts @@ -20,7 +20,6 @@ chrome.runtime.onMessage.addListener(({ method, data }, sender, sendResponse) => const params: Parameters = JSON.parse(data) // Don't create a new Promise for same ID until on going one is over. const promise = onGoingLbryPathnameRequest[data] ?? (onGoingLbryPathnameRequest[data] = resolveById(...params)) - console.log('lbrypathname request', params, await promise) resolve(await promise) } catch (error) { sendResponse(`error: ${(error as any).toString()}`) diff --git a/src/scripts/ytContent.tsx b/src/scripts/ytContent.tsx index f4c69c2..4ab93d9 100644 --- a/src/scripts/ytContent.tsx +++ b/src/scripts/ytContent.tsx @@ -231,7 +231,6 @@ import { getExtensionSettingsAsync, getSourcePlatfromSettingsFromHostname, getTa console.error("Background error on:", params) throw new Error(`Background error. ${response ?? ''}`) } - console.log(response) return response ? JSON.parse(response) : null }