Skip to content

Commit

Permalink
lib: convert to arrow function
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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]>
  • Loading branch information
HisadaNaojiro authored and refack committed Jan 10, 2019
1 parent cec66ec commit cd15651
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 cd15651

Please sign in to comment.