Skip to content

Commit

Permalink
fix: should not be logging to src folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobrosenberg committed Apr 8, 2022
1 parent 3f2fa49 commit b1e031c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/terminal/bin/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -63,7 +61,6 @@ function createConnection() {
console.log(err);
}
}, 1000);
appendFileSync(logFile, "\r\n" + err.toString());
});
}

Expand Down

0 comments on commit b1e031c

Please sign in to comment.