From 78b05baba26f03d49ee4650caa9bcbc6e038fac6 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Tue, 18 Oct 2022 12:56:12 -0700 Subject: [PATCH] Remove console logs Signed-off-by: Sebastian Malton --- .../lens-proxy/proxy-functions/shell-api-request.injectable.ts | 2 -- src/main/shell-session/shell-session.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/src/main/lens-proxy/proxy-functions/shell-api-request.injectable.ts b/src/main/lens-proxy/proxy-functions/shell-api-request.injectable.ts index ddc2aa4745..847924838c 100644 --- a/src/main/lens-proxy/proxy-functions/shell-api-request.injectable.ts +++ b/src/main/lens-proxy/proxy-functions/shell-api-request.injectable.ts @@ -27,8 +27,6 @@ const shellApiRequestInjectable = getInjectable({ const nodeName = searchParams.get("node"); const shellToken = searchParams.get("shellToken"); - console.log("got shell api request", { tabId, clusterId: cluster?.id, nodeName }); - if (!tabId || !cluster || !shellApiAuthenticator.authenticate(cluster.id, tabId, shellToken)) { socket.write("Invalid shell request"); socket.end(); diff --git a/src/main/shell-session/shell-session.ts b/src/main/shell-session/shell-session.ts index 440932d144..9380635b6d 100644 --- a/src/main/shell-session/shell-session.ts +++ b/src/main/shell-session/shell-session.ts @@ -222,7 +222,6 @@ export abstract class ShellSession { this.running = true; shellProcess.onData(data => { - console.log("sending", { data }); this.send({ type: TerminalChannels.STDOUT, data }); }); shellProcess.onExit(({ exitCode }) => {