-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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 <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: #14011 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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 <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: nodejs#14011 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Backport-PR-URL: nodejs#14459 Backport-Reviewed-By: Refael Ackermann <refack@gmail.com> PR-URL: nodejs#14011 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
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