-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix incorrect use of ERR_INVALID_ARG_TYPE #14011
Conversation
Are there any tests that can be updated to prevent regressions on these? |
@cjihrig I don't think there is test coverage for that, but I can add those tests. |
CI with tests: https://ci.nodejs.org/job/node-test-pull-request/8904/ |
Ref #13834 |
Pre-land CI: https://ci.nodejs.org/job/node-test-commit/10920/ |
PR-URL: #14011 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: #14011 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
This doesn’t land cleanly on 8.x; if you can, please follow the guide and raise a backport PR. |
@tniessen That’s a semver-major change, we can’t backport that :( |
@addaleax Right, then it does not make sense to backport this PR ;) |
Fwiw I didn’t notice these were independent commits here, the |
PR-URL: nodejs#14011 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: nodejs#14011 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Backport-PR-URL: nodejs#14459 Backport-Reviewed-By: Refael Ackermann <[email protected]> PR-URL: nodejs#14011 Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
These lines effectively printed
typeof typeof value
, which is alwaysstring
, instead oftypeof value
.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
path, assert