Skip to content

Commit 040b77e

Browse files
committed
Fix more whitespace the autoformatter changed
1 parent 10f3a41 commit 040b77e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/pg/lib/native/client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ Client.prototype.query = function (config, values, callback) {
199199

200200
// we already returned an error,
201201
// just do nothing if query completes
202-
query.callback = () => { }
202+
query.callback = () => {}
203203

204204
// Remove from queue
205205
var index = this._queryQueue.indexOf(query)
@@ -292,7 +292,7 @@ Client.prototype._pulseQueryQueue = function (initialConnection) {
292292
// attempt to cancel an in-progress query
293293
Client.prototype.cancel = function (query) {
294294
if (this._activeQuery === query) {
295-
this.native.cancel(function () { })
295+
this.native.cancel(function () {})
296296
} else if (this._queryQueue.indexOf(query) !== -1) {
297297
this._queryQueue.splice(this._queryQueue.indexOf(query), 1)
298298
}

0 commit comments

Comments
 (0)