Skip to content

Commit c5bfcf2

Browse files
committed
Fix porsager#136 - socket handling
1 parent 955fa49 commit c5bfcf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/connection.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ function postgresSocket(options, {
273273

274274
closed = false
275275

276-
const socket = options.path
276+
socket = options.path
277277
? net.connect(options.path)
278278
: net.connect(options.port, options.host)
279279

0 commit comments

Comments
 (0)