Skip to content

Conversation

@wietsevenema
Copy link

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Description of change

Changed vars to const / let, functions to lambdas and a mustCall where appropriate.

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Sep 17, 2016
@eljefedelrodeodeljefe
Copy link
Contributor

Refers to nodejs/code-and-learn#56. Not sure if Anna has mentioned it otherwise, but please edit the commit message to meet the contribution guidelines, by adding a small line to change you made and what it refers to.

Otherwise LGTM

@mscdex mscdex added the child_process Issues and PRs related to the child_process subsystem. label Sep 17, 2016
Copy link
Contributor

@eljefedelrodeodeljefe eljefedelrodeodeljefe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refers to nodejs/code-and-learn#56. Not sure if Anna has mentioned it otherwise, but please edit the commit message to meet the contribution guidelines, by adding a small line to change you made and what it refers to.

Otherwise LGTM

@wietsevenema
Copy link
Author

Changed commit message

Copy link
Contributor

@cjihrig cjihrig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@lpinca lpinca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@princejwesley princejwesley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@imyller
Copy link
Member

imyller commented Sep 20, 2016

@eljefedelrodeodeljefe Could you review again? I believe the changes you've requested have been made. Thank you.

@imyller
Copy link
Member

imyller commented Sep 20, 2016

@imyller imyller self-assigned this Sep 20, 2016
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use common.fail here: child.stderr.on('data', common.fail);

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove the multiple console.log

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The close event listener has two arguments: code and signal. I would check that code is 0 and signal is not defined.

@jasnell
Copy link
Member

jasnell commented Sep 20, 2016

@wietsevenema ... I think this is almost there. Once this comments are addressed this should be good to go.

@wietsevenema
Copy link
Author

@jasnell Sure thing. Updated the commit and rebased with upstream

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this log

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. This should be removed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@santigimeno
Copy link
Member

LGTM with a nit

@santigimeno
Copy link
Member

Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Changed vars to const / let, functions to lambdas and a mustCall where appropriate.
Copy link
Member

@imyller imyller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

jasnell pushed a commit that referenced this pull request Sep 20, 2016
Changed vars to const / let, functions to arrow functions and a
mustCall where appropriate.

PR-URL: #8581
Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ilkka Myller <[email protected]>
Reviewed-By: Prince John Wesley <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
@jasnell
Copy link
Member

jasnell commented Sep 20, 2016

Landed in 57a5136! Thank you!

@jasnell jasnell closed this Sep 20, 2016
@imyller imyller removed their assignment Sep 20, 2016
@imyller
Copy link
Member

imyller commented Sep 20, 2016

@jasnell, looks like we were both landing the same PR at the same time :)
I've now removed my assignment from this.

Thank you for your contribution, @wietsevenema

@jasnell
Copy link
Member

jasnell commented Sep 20, 2016

Sorry @imyller! I actually didn't see your assignment on there or I would have left it for you!

Fishrock123 pushed a commit that referenced this pull request Oct 11, 2016
Changed vars to const / let, functions to arrow functions and a
mustCall where appropriate.

PR-URL: #8581
Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ilkka Myller <[email protected]>
Reviewed-By: Prince John Wesley <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

child_process Issues and PRs related to the child_process subsystem. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.