From 30af9a6835c7162a42d122cb8cb1279547fc39fd Mon Sep 17 00:00:00 2001 From: Kevin Scott <151596+thekevinscott@users.noreply.github.com> Date: Sat, 18 Nov 2023 07:08:35 -0500 Subject: [PATCH] Address deepsource --- internals/http-server/src/Tunnel.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/internals/http-server/src/Tunnel.ts b/internals/http-server/src/Tunnel.ts index 737f5ba1b..676768765 100644 --- a/internals/http-server/src/Tunnel.ts +++ b/internals/http-server/src/Tunnel.ts @@ -2,15 +2,15 @@ import { tunnelmole } from 'tunnelmole'; process.env.TUNNELMOLE_TELEMETRY = '0'; process.env.TUNNELMOLE_QUIET_MODE = '1'; -const regexp = new RegExp(/^http(.*) is forwarding to(.*)/); -const silenceTunnelmoleOutput = () => { - const origInfo = console.info; - console.info = (msg: string) => { - if (!regexp.test(msg)) { - origInfo.call(console, msg); - } - }; -}; +// const regexp = new RegExp(/^http(.*) is forwarding to(.*)/); +// const silenceTunnelmoleOutput = () => { +// const origInfo = console.info; +// console.info = (msg: string) => { +// if (!regexp.test(msg)) { +// origInfo.call(console, msg); +// } +// }; +// }; export class Tunnel { port: number;