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 c3927aa commit 43fb78eCopy full SHA for 43fb78e
lib/_tls_wrap.js
@@ -1607,7 +1607,7 @@ function normalizeConnectArgs(listArgs) {
1607
// This means that options.host overrides a host arg.
1608
if (listArgs[1] !== null && typeof listArgs[1] === 'object') {
1609
ObjectAssign(options, listArgs[1]);
1610
- } else if (listArgs[2] !== null && typeof listArgs[2] === 'object') {
+ } else {
1611
ObjectAssign(options, listArgs[2]);
1612
}
1613
0 commit comments