From b1e031cdacfe494289bc0b9621f4b4b693c85722 Mon Sep 17 00:00:00 2001 From: Jakob Rosenberg Date: Fri, 8 Apr 2022 09:11:59 +0200 Subject: [PATCH] fix: should not be logging to src folder --- src/terminal/bin/client.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/terminal/bin/client.js b/src/terminal/bin/client.js index 9b4d4f04..aa9bef2a 100644 --- a/src/terminal/bin/client.js +++ b/src/terminal/bin/client.js @@ -3,13 +3,11 @@ * It is executed in the shell by Terminal.js */ -const { appendFileSync } = require("fs"); const net = require("net"); const prompts = require("prompts"); const readline = require("readline"); const host = "127.0.0.1"; const port = 5364; -const logFile = __dirname + "/info.log"; createConnection(); @@ -63,7 +61,6 @@ function createConnection() { console.log(err); } }, 1000); - appendFileSync(logFile, "\r\n" + err.toString()); }); }