We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 589de93 commit 29d22f0Copy full SHA for 29d22f0
lib/_tls_wrap.js
@@ -1655,7 +1655,7 @@ function normalizeConnectArgs(listArgs) {
1655
// This means that options.host overrides a host arg.
1656
if (listArgs[1] !== null && typeof listArgs[1] === 'object') {
1657
ObjectAssign(options, listArgs[1]);
1658
- } else if (listArgs[2] !== null && typeof listArgs[2] === 'object') {
+ } else {
1659
ObjectAssign(options, listArgs[2]);
1660
}
1661
0 commit comments