We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dca1ecf commit 59c2ee0Copy full SHA for 59c2ee0
lib/internal/socket_list.js
@@ -47,7 +47,7 @@ class SocketListSend extends EventEmitter {
47
this._request({
48
cmd: 'NODE_SOCKET_GET_COUNT',
49
key: this.key
50
- }, 'NODE_SOCKET_COUNT', false, function(err, msg) {
+ }, 'NODE_SOCKET_COUNT', false, (err, msg) => {
51
if (err) return callback(err);
52
callback(null, msg.count);
53
});
0 commit comments