From 068c8b45ca53fd323281ab3922cd9bde883ae1b9 Mon Sep 17 00:00:00 2001 From: mr-spd Date: Mon, 13 Mar 2017 17:38:32 +0100 Subject: [PATCH] lib: remove unused msg parameter in debug_agent Removed the msg parameter in the Client function of _debug_agent.js, because it is unused. --- lib/_debug_agent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_debug_agent.js b/lib/_debug_agent.js index 58293b17f84db5..fd89d5a5cc5211 100644 --- a/lib/_debug_agent.js +++ b/lib/_debug_agent.js @@ -108,7 +108,7 @@ function Client(agent, socket) { } util.inherits(Client, Transform); -Client.prototype.destroy = function destroy(msg) { +Client.prototype.destroy = function destroy() { this.socket.destroy(); this.emit('close');