Skip to content

Commit 05bbd63

Browse files
committed
fix: typos
1 parent 1a25d12 commit 05bbd63

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/pg-native/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const Client = (module.exports = function (config) {
1818
this._reading = false
1919
this._read = this._read.bind(this)
2020

21-
// allow custom type converstion to be passed in
21+
// allow custom type conversion to be passed in
2222
this._types = config.types || types
2323

2424
// allow config to specify returning results

packages/pg/lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ class Client extends EventEmitter {
323323
this._pulseQueryQueue()
324324
}
325325

326-
// if we receieve an error event or error message
326+
// if we receive an error event or error message
327327
// during the connection process we handle it here
328328
_handleErrorWhileConnecting(err) {
329329
if (this._connectionError) {

packages/pg/lib/query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class Query extends EventEmitter {
112112
// if a named prepared statement is created with empty query text
113113
// the backend will send an emptyQuery message but *not* a command complete message
114114
// since we pipeline sync immediately after execute we don't need to do anything here
115-
// unless we have rows specified, in which case we did not pipeline the intial sync call
115+
// unless we have rows specified, in which case we did not pipeline the initial sync call
116116
handleEmptyQuery(connection) {
117117
if (this.rows) {
118118
connection.sync()

0 commit comments

Comments
 (0)