From 040b77eac343c0276ec6a6794a002abe58280b82 Mon Sep 17 00:00:00 2001 From: "Brian M. Carlson" Date: Mon, 13 Jan 2020 09:05:54 -0600 Subject: [PATCH] Fix more whitespace the autoformatter changed --- packages/pg/lib/native/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/pg/lib/native/client.js b/packages/pg/lib/native/client.js index d9c781f5c..9e1c8baf7 100644 --- a/packages/pg/lib/native/client.js +++ b/packages/pg/lib/native/client.js @@ -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) @@ -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) }