Skip to content

Commit 54c6fe8

Browse files
authored
fix: typo in deprecation notice for client.query()
1 parent cb2fce5 commit 54c6fe8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/pg/lib/native/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const NativeQuery = require('./query')
1717

1818
const queryQueueLengthDeprecationNotice = nodeUtils.deprecate(
1919
() => {},
20-
'Calling client.query() when the client is already executing a query is deprecated and will be removed in pg@9.0. Use asycn/await or an external async flow control mechanism instead.'
20+
'Calling client.query() when the client is already executing a query is deprecated and will be removed in pg@9.0. Use async/await or an external async flow control mechanism instead.'
2121
)
2222

2323
const Client = (module.exports = function (config) {

0 commit comments

Comments
 (0)