Skip to content

Commit 1c2ce23

Browse files
HisadaNaojiroBethGriggs
authored andcommitted
lib: convert to arrow function
PR-URL: #24596 Reviewed-By: Ron Korving <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent 82d9ffc commit 1c2ce23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/socket_list.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class SocketListSend extends EventEmitter {
4747
this._request({
4848
cmd: 'NODE_SOCKET_GET_COUNT',
4949
key: this.key
50-
}, 'NODE_SOCKET_COUNT', false, function(err, msg) {
50+
}, 'NODE_SOCKET_COUNT', false, (err, msg) => {
5151
if (err) return callback(err);
5252
callback(null, msg.count);
5353
});

0 commit comments

Comments
 (0)