-
Notifications
You must be signed in to change notification settings - Fork 30k
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
lib/tls: replace var with let/const #30409
Conversation
var offset = 0; | ||
for (var i = 0, c = protocols.length; i < c; i++) { | ||
let offset = 0; | ||
for (let i = 0, c = protocols.length; i < c; i++) { |
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.
nit: offset can be moved inside loop as follows:
for (let i = 0, c = protocols.length; i < c; i++) { | |
for (let offset = 0, i = 0, c = protocols.length; i < c; i++) { |
with couple of nasty flakes in the CI, getting a coherent result has become tough. The last two runs (26910 and 26917) together bring us a good result. I assume that should be good, and use that premise to land (at least C&L) PRs. |
PR-URL: #30409 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
landed in 26b2655, thanks for the contribution! |
PR-URL: #30409 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
PR-URL: #30409 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
PR-URL: #30409 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
make -j4 test
(UNIX), orvcbuild test
(Windows) passes