Skip to content

Commit 43f2c27

Browse files
Jobianscharmander
andauthored
Update packages/pg/lib/connection-parameters.js
Co-authored-by: Charmander <~@charmander.me>
1 parent b0c5778 commit 43f2c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pg/lib/connection-parameters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const defaults = require('./defaults')
77
const parse = require('pg-connection-string').parse // parses a connection string
88

99
const val = function (key, config, envVar) {
10-
if (config[key] !== undefined) {
10+
if (config[key]) {
1111
return config[key]
1212
}
1313

0 commit comments

Comments
 (0)