Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uplib: convert to arrow function #24623
Conversation
nodejs-github-bot
added
the
child_process
label
Nov 24, 2018
hiroppy
added
the
code-and-learn
label
Nov 24, 2018
joyeecheung
reviewed
Nov 24, 2018
lib/internal/child_process.js
Outdated
| @@ -68,25 +68,25 @@ const handleConversion = { | |||
| 'net.Native': { | |||
| simultaneousAccepts: true, | |||
|
|
|||
| send: function(message, handle, options) { | |||
| send: (message, handle, options) => { | |||
This comment has been minimized.
This comment has been minimized.
joyeecheung
Nov 24, 2018
Member
I'd think changing this pattern to something like
send(message, handle, options) {
would be even better?
This comment has been minimized.
This comment has been minimized.
horihiro
Nov 24, 2018
Author
Contributor
Thanks @joyeecheung
I will review my changes according to your suggestion.
cjihrig
approved these changes
Nov 25, 2018
Leko
approved these changes
Nov 26, 2018
shisama
approved these changes
Nov 28, 2018
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
landed as b8bd4b4 thank you for @horihiro the contribution! Wish you great success with continued contribution to this project, if you are further interested please have a look at https://www.nodetodo.org/next-steps |
gireeshpunathil
closed this
Nov 28, 2018
pull bot
pushed a commit
to SimenB/node
that referenced
this pull request
Nov 28, 2018
targos
added a commit
that referenced
this pull request
Nov 28, 2018
This was referenced Dec 7, 2018
refack
added a commit
to refack/node
that referenced
this pull request
Jan 14, 2019
BethGriggs
added a commit
that referenced
this pull request
Feb 12, 2019
BethGriggs
added
the
land-on-v10.x
label
Feb 12, 2019
rvagg
added a commit
that referenced
this pull request
Feb 28, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
horihiro commentedNov 24, 2018
Converts to Arrow Function
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes