Skip to content

Commit

Permalink
Fix more whitespace the autoformatter changed
Browse files Browse the repository at this point in the history
  • Loading branch information
brianc committed Jan 13, 2020
1 parent 10f3a41 commit 040b77e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/pg/lib/native/client.js
Expand Up @@ -199,7 +199,7 @@ Client.prototype.query = function (config, values, callback) {

// we already returned an error,
// just do nothing if query completes
query.callback = () => { }
query.callback = () => {}

// Remove from queue
var index = this._queryQueue.indexOf(query)
Expand Down Expand Up @@ -292,7 +292,7 @@ Client.prototype._pulseQueryQueue = function (initialConnection) {
// attempt to cancel an in-progress query
Client.prototype.cancel = function (query) {
if (this._activeQuery === query) {
this.native.cancel(function () { })
this.native.cancel(function () {})
} else if (this._queryQueue.indexOf(query) !== -1) {
this._queryQueue.splice(this._queryQueue.indexOf(query), 1)
}
Expand Down

0 comments on commit 040b77e

Please sign in to comment.