Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.3k
lib: fix validateport error message when allowZero is false#32861
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
rickyes commented Apr 15, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
8fc220c to 7cb9849Comparerickyes commented Apr 15, 2020
It seems that there is a problem with install deps when building on windows. |
Uh oh!
There was an error while loading. Please reload this page.
7cb9849 to b5ac0f0Compare
himself65 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if CI passes
cjihrig left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
No need to change this PR, but It's kind of funny that there was discussion about making the third argument to validatePort() an object vs. a boolean for readability purposes, just to end up using a boolean here anyway. It seems like we should migrate the validatePort() arg to a boolean - it's an internal API anyway.
rickyes commented Apr 15, 2020
I think making the third parameter of |
cjihrig commented Apr 15, 2020
It was to avoid "magical boolean values" |
jasnell commented Apr 15, 2020
|
cjihrig commented Apr 15, 2020
To be fair, more of them do not take an options object, so it introduced more inconsistency. |
nodejs-github-bot commented Apr 17, 2020
rickyes commented Apr 25, 2020
Should be ready, Can you help restart a CI run ? @jasnell |
nodejs-github-bot commented Apr 25, 2020
rickyes commented Apr 25, 2020
It seems that the CI run failure has nothing to do with this PR. |
nodejs-github-bot commented Apr 25, 2020
nodejs-github-bot commented Apr 28, 2020
PR-URL: #32861Fixes: #32857 Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
addaleax commented Apr 28, 2020
Landed in 1d0b249 |
PR-URL: #32861Fixes: #32857 Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
PR-URL: #32861Fixes: #32857 Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
PR-URL: #32861Fixes: #32857 Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
fixes: #32857
/cc @jasnell
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes