diff --git a/core/bbs_link.js b/core/bbs_link.js index 093f0bb2..127f85db 100644 --- a/core/bbs_link.js +++ b/core/bbs_link.js @@ -134,7 +134,6 @@ exports.getModule = class BBSLinkModule extends MenuModule { host : self.config.host, }; - let clientTerminated; let dataOut; self.client.term.write(resetScreen()); diff --git a/core/connect.js b/core/connect.js index 52ff67a0..d5b03de4 100644 --- a/core/connect.js +++ b/core/connect.js @@ -18,7 +18,7 @@ function ansiDiscoverHomePosition(client, cb) { // think of home as 0,0. If this is the case, we need to offset // our positioning to accommodate for such. // - const done = function(err) { + const done = (err) => { client.removeListener('cursor position report', cprListener); clearTimeout(giveUpTimer); return cb(err);