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:
parent
db277f00fe
commit
5bd1642dd1
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user