Skip to content

Commit 15c834e

Browse files
cressie176Copilot
andauthored
Update lib/connect.js
Co-authored-by: Copilot <[email protected]>
1 parent 6f7160f commit 15c834e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/connect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function connect(url, socketOptions, openCallback) {
132132
var host = parts.hostname.replace(/^\[|\]$/g, '');
133133
protocol = parts.protocol;
134134
sockopts.host = host;
135-
sockopts.servername = sockopts.servername || host
135+
sockopts.servername = sockopts.servername || host;
136136
sockopts.port = parseInt(parts.port) || ((protocol === 'amqp:') ? 5672 : 5671);
137137
var vhost = parts.pathname ? parts.pathname.substr(1) : null;
138138
fields = openFrames(vhost, parts.query, sockopts.credentials || credentialsFromUrl(parts), extraClientProperties);

0 commit comments

Comments
 (0)