lib: use === in _http_server and _tls_wrap · nodejs/node@6632b3d · GitHub
Skip to content

Commit 6632b3d

Browse files
walterbmMylesBorins
authored andcommitted
lib: use === in _http_server and _tls_wrap
Minor fix to favor strict equality in http_server.js and tls_wrap.js to ensure accurate comparisons without type coercion. PR-URL: #9849 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 99ed5ed commit 6632b3d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/_http_server.js

Lines changed: 1 addition & 1 deletion

lib/_tls_wrap.js

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)