From 20d3be0d1da8086201b4e14360393101380e3572 Mon Sep 17 00:00:00 2001 From: "Fred K. Schott" Date: Wed, 8 Jan 2020 12:20:40 -0800 Subject: [PATCH] nevermind, regression wasn't actually a regression --- src/common/connection.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/connection.ts b/src/common/connection.ts index 056ea1b0..679767ea 100644 --- a/src/common/connection.ts +++ b/src/common/connection.ts @@ -535,12 +535,12 @@ class Connection extends EventEmitter { } request(request, timeout?: number): Promise { + // Temporary: Lint error has already been refactored in PR #1141 + // eslint-disable-next-line no-async-promise-executor return new Promise(async (resolve, reject) => { if (!this._shouldBeConnected) { reject(new NotConnectedError()) } - - await this._waitForReady() let timer = null const self = this