Skip to content

Commit a82fa55

Browse files
committed
Don't show password in exposed options
1 parent e0b736a commit a82fa55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function Postgres(url, options) {
6060
}
6161

6262
Object.assign(postgres, {
63-
options,
63+
options: Object.assign({}, options, { password: null }),
6464
parameters: {},
6565
listen,
6666
begin,

0 commit comments

Comments
 (0)