Skip to content

Commit

Permalink
lib: chenged anonymous function to arrow function
Browse files Browse the repository at this point in the history
  • Loading branch information
taishikato committed Nov 24, 2018
1 parent ce890a0 commit a90b1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_http_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ ClientRequest.prototype.abort = function abort() {
if (this.res) {
this.res._dump();
} else {
this.once('response', function(res) {
this.once('response', (res) => {
res._dump();
});
}
Expand Down

0 comments on commit a90b1d1

Please sign in to comment.