Closed
Conversation
The `setup()` method is only called when the `--experimental-report` option is set. `getOptionValue()` returns `undefined` when the flag is not defined, so the extra check inside of `setup()` is redundant.
cjihrig
approved these changes
Jan 21, 2019
Member
Author
|
CI: https://ci.nodejs.org/job/node-test-pull-request/20231/ (:heavy_check_mark:) |
Contributor
|
FWIW here is a compiler warning I'm seeing in master if you want to include a fix for it as part of the cleanup: |
Member
Author
|
@mscdex See #25597 (comment) for what I’d like to do/why this is isn’t included here :) |
Member
Author
|
Maybe @lundibundi or @richardlau would be interested in reviewing this? |
richardlau
approved these changes
Jan 24, 2019
Member
|
FWIW re. the Travis commit message linting failure -- I've raised nodejs/core-validate-commit#46 to add |
Member
Author
|
Landed in f4697ba...5860614 |
addaleax
added a commit
that referenced
this pull request
Jan 24, 2019
The `setup()` method is only called when the `--experimental-report` option is set. `getOptionValue()` returns `undefined` when the flag is not defined, so the extra check inside of `setup()` is redundant. PR-URL: #25610 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
addaleax
added a commit
that referenced
this pull request
Jan 24, 2019
PR-URL: #25610 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
addaleax
added a commit
that referenced
this pull request
Jan 24, 2019
PR-URL: #25610 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
addaleax
added a commit
that referenced
this pull request
Jan 24, 2019
PR-URL: #25610 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
addaleax
added a commit
that referenced
this pull request
Jan 24, 2019
PR-URL: #25610 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Contributor
|
Should this be backported to |
addaleax
added a commit
that referenced
this pull request
Jan 24, 2019
The `setup()` method is only called when the `--experimental-report` option is set. `getOptionValue()` returns `undefined` when the flag is not defined, so the extra check inside of `setup()` is redundant. PR-URL: #25610 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
addaleax
added a commit
that referenced
this pull request
Jan 24, 2019
PR-URL: #25610 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
addaleax
added a commit
that referenced
this pull request
Jan 24, 2019
PR-URL: #25610 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
addaleax
added a commit
that referenced
this pull request
Jan 24, 2019
PR-URL: #25610 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
addaleax
added a commit
that referenced
this pull request
Jan 24, 2019
PR-URL: #25610 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Merged
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 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.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.
The first commit is very whitespace-rich, so it’s worth using the
?w=1variant of the diff.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes