Skip to content

Commit caa2264

Browse files
committed
Minimize diff
1 parent 10a74f1 commit caa2264

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/lib.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,6 @@ function makeNewPool(
332332
releasers.push(() => {
333333
pgPool.end();
334334
});
335-
336335
installErrorHandlers(compiledSharedOptions, releasers, pgPool);
337336
return pgPool;
338337
}
@@ -380,8 +379,6 @@ function installErrorHandlers(
380379
pgPool.removeListener("error", handlePoolError);
381380
pgPool.removeListener("connect", handlePoolConnect);
382381
});
383-
384-
return pgPool;
385382
}
386383

387384
export type Release = () => PromiseOrDirect<void>;

0 commit comments

Comments
 (0)