mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
lib: remove unused msg parameter in debug_agent
Removed the msg parameter in the Client function of _debug_agent.js, because it is unused. PR-URL: https://github.com/nodejs/node/pull/11833 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Jackson Tian <shyvo1987@gmail.com>
This commit is contained in:
1 parent
77c69f7ace
commit
9cc712ca18
1 file changed
+1
-1
+1
-1
@@ -107,7 +107,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');
|
||||
|
||||
Reference in new issue
Block a user