Skip to content

Commit ad36e3c

Browse files
authored
fix: typo in deprecation notice for client.query() (#3618)
* fix: typo in deprecation notice for client.query() * fix: typo in deprecation notice for client.query()
1 parent cb2fce5 commit ad36e3c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/pg/lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const byoPromiseDeprecationNotice = nodeUtils.deprecate(
3333

3434
const queryQueueLengthDeprecationNotice = nodeUtils.deprecate(
3535
() => {},
36-
'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.'
36+
'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.'
3737
)
3838

3939
class Client extends EventEmitter {

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)