Skip to content

Commit

Permalink
Fix #136 - socket handling
Browse files Browse the repository at this point in the history
  • Loading branch information
porsager committed Mar 9, 2021
1 parent 955fa49 commit c5bfcf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ function postgresSocket(options, {

closed = false

const socket = options.path
socket = options.path
? net.connect(options.path)
: net.connect(options.port, options.host)

Expand Down

0 comments on commit c5bfcf2

Please sign in to comment.