Skip to content

Commit b5845c9

Browse files
hyperaircharmander
andcommitted
Drop unnecessary ?. in Symbol.dispose check
Co-authored-by: Charmander <[email protected]>
1 parent e9baf3d commit b5845c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/pg-pool/test/disposable-clients.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('disposable clients', () => {
77
const pool = new Pool({ max: 1 })
88
const client = await pool.connect()
99

10-
if (Symbol?.dispose) {
10+
if (Symbol.dispose) {
1111
expect(client[Symbol.dispose]).to.be.a('function')
1212
}
1313

0 commit comments

Comments
 (0)