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 upsrc: fix NODE_OPTIONS parsing bug #22529
Conversation
This comment has been minimized.
This comment has been minimized.
nodejs-github-bot
added
the
C++
label
Aug 26, 2018
addaleax
referenced this pull request
Aug 26, 2018
Closed
NODE_OPTIONS do not work properly anymore #22526
addaleax
added
cli
fast-track
labels
Aug 26, 2018
This comment has been minimized.
This comment has been minimized.
|
CI: https://ci.nodejs.org/job/node-test-pull-request/16754/ I have labeled this |
devsnek
approved these changes
Aug 26, 2018
BridgeAR
approved these changes
Aug 26, 2018
|
LGTM. Thanks for the quick fix. |
mscdex
reviewed
Aug 26, 2018
| @@ -29,6 +31,9 @@ expect('--v8-pool-size=10', 'B\n'); | |||
| expect('--trace-event-categories node', 'B\n'); | |||
| // eslint-disable-next-line no-template-curly-in-string | |||
| expect('--trace-event-file-pattern {pid}-${rotation}.trace_events', 'B\n'); | |||
| // eslint-disable-next-line no-template-curly-in-string | |||
| expect('--trace-event-file-pattern {pid}-${rotation}.trace_events ' + | |||
This comment has been minimized.
This comment has been minimized.
mscdex
Aug 26, 2018
Contributor
Is it possible we could avoid hard-coding all of these options somehow with 22490 or would that require too much node options metadata to know what (if any) arguments to pass for each?
This comment has been minimized.
This comment has been minimized.
addaleax
Aug 26, 2018
Author
Member
I think it would work for a number of options (mostly the simple boolean ones), but there are quite a few that change output in some way…
refack
approved these changes
Aug 26, 2018
This comment has been minimized.
This comment has been minimized.
|
Simple fixes for regressions, should be fast tracked. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
trivikr
approved these changes
Aug 26, 2018
This comment has been minimized.
This comment has been minimized.
|
Landed in 1c05b16 |
addaleax commentedAug 26, 2018
I, uhm, might have messed up by using a
substr(start, end)signature whenstd::stringactually usessubstr(start, len). Fix that.Fixes: #22526
Refs: #22392
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes