Conversation
I, uhm, might have messed up by using a `substr(start, end)` signature when `std::string` actually uses `substr(start, len)`. Fix that. Fixes: nodejs#22526 Refs: nodejs#22392
|
CI: https://ci.nodejs.org/job/node-test-pull-request/16754/ I have labeled this |
BridgeAR
left a comment
There was a problem hiding this comment.
LGTM. Thanks for the quick fix.
| // 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 ' + |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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…
|
Simple fixes for regressions, should be fast tracked. |
|
Landed in 1c05b16 |
I, uhm, might have messed up by using a `substr(start, end)` signature when `std::string` actually uses `substr(start, len)`. Fix that. Fixes: #22526 Refs: #22392 PR-URL: #22529 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
I, uhm, might have messed up by using a `substr(start, end)` signature when `std::string` actually uses `substr(start, len)`. Fix that. Fixes: #22526 Refs: #22392 PR-URL: #22529 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
I, uhm, might have messed up by using a `substr(start, end)` signature when `std::string` actually uses `substr(start, len)`. Fix that. Fixes: #22526 Refs: #22392 PR-URL: #22529 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
I, uhm, might have messed up by using a `substr(start, end)` signature when `std::string` actually uses `substr(start, len)`. Fix that. Fixes: #22526 Refs: #22392 PR-URL: #22529 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
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