Uh oh!
There was an error while loading. Please reload this page.
test: refactor test-child-process-env to use arrow functions - #24482
Closed
sagirk wants to merge 3 commits into
Closed
test: refactor test-child-process-env to use arrow functions#24482sagirk wants to merge 3 commits into
sagirk wants to merge 3 commits into
Conversation
gireeshpunathil
approved these changes
Nov 19, 2018
gireeshpunathil
commented
Nov 19, 2018
Member
addaleax
approved these changes
Nov 19, 2018
jasnell
approved these changes
Nov 19, 2018
thefourtheye
approved these changes
Nov 20, 2018
Uh oh!
There was an error while loading. Please reload this page.
BridgeAR
approved these changes
Nov 20, 2018
ContributorAuthor
@thefourtheye The build failed, seemingly because of the last change. How do I go about fixing it? Undoing the |
cjihrig
approved these changes
Nov 20, 2018
Trott
previously requested changes
Nov 20, 2018
Trott
left a comment
Member
There was a problem hiding this comment.
Please remove the use of common.mustCall() as an exit event handler. Thanks!
In `test/parallel/test-child-process-env.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions.
…ustCall`" This reverts commit 91fa0e1.
sagirkforce-pushed
the
refactor/test-child-process-env
branch
from
November 21, 2018 08:05
a70411b to
dc4bdabCompare4 tasks
sagirk
commented
Nov 21, 2018
ContributorAuthor
@Trott Done. Build passed. PTAL. |
gireeshpunathil
commented
Nov 22, 2018
Member
gireeshpunathil
commented
Nov 22, 2018
Member
windows-fanned test unrelated: |
gireeshpunathil
commented
Nov 22, 2018
Member
so all is good, just waiting for @Trott to re-review and dismiss the change request. |
Trott
commented
Nov 28, 2018
Member
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/18989/ |
gireeshpunathil
commented
Nov 28, 2018
Member
landed as 484ad3b |
gireeshpunathil pushed a commit
that referenced
this pull request
Nov 28, 2018
In `test/parallel/test-child-process-env.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions. PR-URL: #24482 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
targos pushed a commit
that referenced
this pull request
Nov 28, 2018
In `test/parallel/test-child-process-env.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions. PR-URL: #24482 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
This was referenced Dec 7, 2018
refack pushed a commit
to refack/node
that referenced
this pull request
Jan 14, 2019
In `test/parallel/test-child-process-env.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions. PR-URL: nodejs#24482 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
BethGriggs pushed a commit
that referenced
this pull request
Feb 12, 2019
In `test/parallel/test-child-process-env.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions. PR-URL: #24482 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
Merged
rvagg pushed a commit
that referenced
this pull request
Feb 28, 2019
In `test/parallel/test-child-process-env.js`, callbacks use anonymous closure functions. It is safe to replace them with arrow functions since these callbacks don't contain references to `this`, `super` or `arguments`. This results in shorter functions. PR-URL: #24482 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Rich Trott <rtrott@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto 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.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

In
test/parallel/test-child-process-env.js, callbacks useanonymous closure functions. It is safe to replace them with arrow
functions since these callbacks don't contain references to
this,superorarguments. This results in shorter functions.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes