From 3637b344cec51d913a0a40aab5e2f4fdacf19773 Mon Sep 17 00:00:00 2001 From: Vladimir Vagaytsev Date: Thu, 9 Nov 2023 14:07:36 +0100 Subject: [PATCH] chore: remove unused class field (#5362) Since #5124 the field `app` hasn't been used from outside the ctor. --- core/src/server/server.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/server/server.ts b/core/src/server/server.ts index 892d3be650..3cbe411845 100644 --- a/core/src/server/server.ts +++ b/core/src/server/server.ts @@ -132,7 +132,6 @@ export class GardenServer extends EventEmitter { private statusLog?: Log private server?: Server - private app?: websockify.App private manager: GardenInstanceManager private incomingEvents: EventBus @@ -169,9 +168,8 @@ export class GardenServer extends EventEmitter { if (this.server) { return } - const app = await this.createApp() - this.app = app + const app = await this.createApp() const hostname = gardenEnv.GARDEN_SERVER_HOSTNAME || "localhost" const _start = async () => {