Skip to content

Commit 099cc6a

Browse files
committed
Update connection.js
1 parent a77b316 commit 099cc6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pg/lib/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Connection extends EventEmitter {
4040

4141
this._connecting = true
4242
this.stream.setNoDelay(true)
43-
this.stream.connect({port, host})
43+
this.stream.connect(port, host)
4444

4545
this.stream.once('connect', function () {
4646
if (self._keepAlive) {

0 commit comments

Comments
 (0)