Skip to content

Commit

Permalink
lib: remove unused msg parameter in debug_agent
Browse files Browse the repository at this point in the history
Removed the msg parameter in the Client function
of _debug_agent.js, because it is unused.

PR-URL: #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>
  • Loading branch information
mr-spd authored and italoacasas committed Mar 20, 2017
1 parent 77c69f7 commit 9cc712c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_debug_agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 9cc712c

Please sign in to comment.