Skip to content

Commit

Permalink
chore: remove unused class field (#5362)
Browse files Browse the repository at this point in the history
Since #5124 the field `app` hasn't been used from outside the ctor.
  • Loading branch information
vvagaytsev authored Nov 9, 2023
1 parent 875cacb commit 3637b34
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 () => {
Expand Down

0 comments on commit 3637b34

Please sign in to comment.