Skip to content

Commit

Permalink
Fixed prettier issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jawj committed Nov 26, 2024
1 parent 61fc3d2 commit f2717e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions export/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,7 @@ class NeonPool extends Pool {
cb = response.callback;

try {
const cp = new ConnectionParameters(
this.options,
) as ConnectionParameters;
const cp = new ConnectionParameters(this.options) as ConnectionParameters;
const euc = encodeURIComponent,
eu = encodeURI;
const connectionString = `postgresql://${euc(cp.user)}:${euc(cp.password)}@${euc(cp.host)}/${eu(cp.database)}`;
Expand Down

0 comments on commit f2717e8

Please sign in to comment.