From 9c28941f6c7a233b09ee2e35b67acb68f353b58f Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 5 Feb 2020 10:47:43 -0500 Subject: [PATCH] lint compliance --- lib/commands/core.js | 2 +- lib/rpc.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/commands/core.js b/lib/commands/core.js index 3e98d10dd..cbcf291bb 100644 --- a/lib/commands/core.js +++ b/lib/commands/core.js @@ -70,7 +70,7 @@ Core.expireSession = function (Sessions, safeKey) { Core.expireSessionAsync = function (Env, safeKey, cb) { setTimeout(function () { - Core.expireSession(Sessions, safeKey); + Core.expireSession(Env.Sessions, safeKey); cb(void 0, 'OK'); }); }; diff --git a/lib/rpc.js b/lib/rpc.js index d541a2550..7e46303e4 100644 --- a/lib/rpc.js +++ b/lib/rpc.js @@ -196,8 +196,6 @@ var handleAuthenticatedMessage = function (Env, map) { Respond(void 0, result); }); default: - console.log(msg); - throw new Error("OOPS"); return void Respond('UNSUPPORTED_RPC_CALL', msg); } };