Skip to content

Commit b4e1623

Browse files
author
Mike Slattery
authored
only need ==
1 parent 4b417c8 commit b4e1623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pg-pool/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class Pool extends EventEmitter {
374374

375375
// force (Boolean) and cb (Function) are optional
376376
end(force, cb) {
377-
if (typeof force === 'function') {
377+
if (typeof force == 'function') {
378378
cb = force
379379
force = false
380380
}

0 commit comments

Comments
 (0)