| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Also issuerCertificate but that did not fit on the status line. Fixes: nodejs#11771
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
| if (c.subject) c.subject = tls.parseCertString(c.subject); | ||
| if (c.infoAccess) { | ||
| if (c.subject != null) c.subject = tls.parseCertString(c.subject); | ||
| if (c.infoAccess != null) { |
There was a problem hiding this comment.
can you put a quick comment that != null matches both null and undefined? I think that might not be newbie-friendly (also because in every guide about JS it is written to use ===).
Sorry, something went wrong.
There was a problem hiding this comment.
I'll add a comment if you insist but we use the x != null idiom all over the code base. It's not unique to this PR and we don't call it out explicitly anywhere else.
Sorry, something went wrong.
Also issuerCertificate but that did not fit on the status line. Fixes: nodejs#11771 PR-URL: nodejs#14473 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
|
should this be backported to v6.x? |
Sorry, something went wrong.
|
Yes. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Also issuerCertificate but that did not fit on the status line.
Fixes: #11771
Split off from #14447.
CI: https://ci.nodejs.org/job/node-test-pull-request/9342/