Skip to content

Commit

Permalink
lib: convert to arrow function
Browse files Browse the repository at this point in the history
PR-URL: #24596
Reviewed-By: Ron Korving <ron@ronkorving.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
HisadaNaojiro authored and BethGriggs committed Feb 11, 2019
1 parent 82d9ffc commit 1c2ce23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/socket_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class SocketListSend extends EventEmitter {
this._request({
cmd: 'NODE_SOCKET_GET_COUNT',
key: this.key
}, 'NODE_SOCKET_COUNT', false, function(err, msg) {
}, 'NODE_SOCKET_COUNT', false, (err, msg) => {
if (err) return callback(err);
callback(null, msg.count);
});
Expand Down

0 comments on commit 1c2ce23

Please sign in to comment.