From 1aa545e254b0fe6d217008ff7e2230deb1eea422 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Wed, 20 Nov 2019 19:11:05 -0700 Subject: [PATCH] Minor --- core/bbs_link.js | 1 - core/connect.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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);