From ab995bbdcfbf5dfaa7b95248a2ce83c4ffb863a6 Mon Sep 17 00:00:00 2001 From: "Brian M. Carlson" Date: Thu, 8 Oct 2020 13:56:59 -0500 Subject: [PATCH] Comments & cleanup --- packages/pg/lib/query.js | 1 - packages/pg/test/integration/gh-issues/2085-tests.js | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/pg/lib/query.js b/packages/pg/lib/query.js index 4ae494c7..3e3c5a64 100644 --- a/packages/pg/lib/query.js +++ b/packages/pg/lib/query.js @@ -31,7 +31,6 @@ class Query extends EventEmitter { this.isPreparedStatement = false this._canceledDueToError = false this._promise = null - this._hasSentSync = false } requiresPreparation() { diff --git a/packages/pg/test/integration/gh-issues/2085-tests.js b/packages/pg/test/integration/gh-issues/2085-tests.js index d65b5fdc..2536bba8 100644 --- a/packages/pg/test/integration/gh-issues/2085-tests.js +++ b/packages/pg/test/integration/gh-issues/2085-tests.js @@ -4,6 +4,8 @@ var assert = require('assert') const suite = new helper.Suite() +// allow skipping of this test via env var for +// local testing when you don't have SSL set up if (process.env.PGTESTNOSSL) { return }