Run eslint autofixes

This commit is contained in:
nimbleghost 2023-05-24 09:03:28 +02:00
parent f558b4dbe9
commit 8319f1cf26
32 changed files with 394 additions and 435 deletions

View file

@ -77,7 +77,7 @@ class Connection {
close() {
console.log(`[Connection, ${this.shortUrl}, ${this.connectionId}] Closing connection`);
const socket = this.ws;
const retryTimeout = this.retryTimeout;
const { retryTimeout } = this;
if (socket !== null) {
socket.close();
}
@ -110,6 +110,7 @@ class Connection {
export class ConnectionState {
static Connected = "connected";
static Connecting = "connecting";
}