-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zlib: name every function #9389
Conversation
@@ -347,7 +347,7 @@ function Zlib(opts, mode) { | |||
|
|||
var self = this; | |||
this._hadError = false; | |||
this._handle.onerror = function(message, errno) { | |||
this._handle.onerror = (message, errno) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't change this one to an arrow function. There's really no point in doing so here. I would just add a name to the existing function
no CI? |
@silverwind boink? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Failure on arm in CI looks un-related so should be good to land |
Landed as 77ec310 |
PR-URL: #9389 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This has broken linting on CI because it violates a lint rule that landed since CI was run for it 5 days ago. :-( |
The fix is at #9524. |
PR-URL: #9389 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Checklist
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
zlib
Description of change
named handlers
Ref: #8913