-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
name net anonymous functions #9357
Conversation
LGTM if CI is ✅ |
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
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
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
Hopefully CI will go 👍 |
the changes are related to Ref: #8913 regarding the naming of just the inline anonymous functions that are not assigned to a variable
@@ -1389,7 +1389,7 @@ Server.prototype.listen = function() { | |||
}; | |||
|
|||
function lookupAndListen(self, port, address, backlog, exclusive) { | |||
require('dns').lookup(address, function(err, ip, addressType) { | |||
require('dns').lookup(address, function emitDnsLookup(err, ip, addressType) { |
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.
Can I ask why you chose this name? I see no emit.
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.
It was under dns context, however it should be a listen or doListening. I will modify on next commit :) @lpinca
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 put it on 6ce4862 probably now LGTY (looks good to you) 😄
The build is fine: https://ci.nodejs.org/job/node-test-commit/5887/. |
@pvsousalima the failure was unrelated, I prefer not to waste precious resources on the testing env. A full CI run takes forever. |
changing the name proposed to the anonymous function as stated on #9357 (comment)
Thanks! Landed in d1785d9. |
the changes are related #8913 regarding the naming of just the inline anonymous functions that are not assigned to a variable PR-URL: #9357 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ilkka Myller <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
6ef636c fixed failing tests. What you saw here was a Jenkins connection failure. It never even got to the point of running tests because the host and Jenkins stopped communicating during the build. If anyone knows how to fix that, I'm sure the Build WG (#node-build on Freenode IRC, https://github.com/nodejs/build on GitHub) would love to hear it. |
Is there a way to debug the communication process @Trott ? I want to start at that path 😄 |
I don't know. If you know Jenkins administration well and want to discuss it, create an issue at https://github.com/nodejs/build/issues. |
the changes are related #8913 regarding the naming of just the inline anonymous functions that are not assigned to a variable PR-URL: #9357 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ilkka Myller <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
Checklist
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
net
Description of change
net: name anonymous functions in net module
name anonymous functions in net module
the changes are related to Ref: #8913
regarding the naming of just the inline anonymous
functions that are not assigned to a variable