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 targos committed Nov 27, 2018
1 parent 24ca24a commit c6a6aee
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 c6a6aee

Please sign in to comment.