Skip to content

Commit fa56cb4

Browse files
committed
Remove unused variable
1 parent 906b9e1 commit fa56cb4

2 files changed

Lines changed: 18 additions & 19 deletions

File tree

src/events/events.gateway.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
LeaveLobbyPayload,
88
LobbyLeftPayload,
99
LobbySearchedPayload,
10-
LobbySpectatedPayload,
1110
ResponseStatusPayload,
1211
EventMessage,
1312
SearchLobbyPayload,

src/main.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
import { NestFactory } from '@nestjs/core';
2-
import { AppModule } from './app.module';
3-
import { LOBBYMAN } from './types/models.types';
4-
import { WsAdapter } from '@nestjs/platform-ws';
5-
6-
async function bootstrap() {
7-
const app = await NestFactory.create(AppModule);
8-
app.useWebSocketAdapter(new WsAdapter(app));
9-
10-
LOBBYMAN.lobbies = {};
11-
LOBBYMAN.machineConnections = {};
12-
LOBBYMAN.spectatorConnections = {};
13-
14-
await app.listen(1337);
15-
16-
console.log(`Application is running on: ${await app.getUrl()}`);
17-
}
18-
bootstrap();
1+
import { NestFactory } from '@nestjs/core';
2+
import { AppModule } from './app.module';
3+
import { LOBBYMAN } from './types/models.types';
4+
import { WsAdapter } from '@nestjs/platform-ws';
5+
6+
async function bootstrap() {
7+
const app = await NestFactory.create(AppModule);
8+
app.useWebSocketAdapter(new WsAdapter(app));
9+
10+
LOBBYMAN.lobbies = {};
11+
LOBBYMAN.machineConnections = {};
12+
LOBBYMAN.spectatorConnections = {};
13+
14+
await app.listen(1337);
15+
16+
console.log(`Application is running on: ${await app.getUrl()}`);
17+
}
18+
bootstrap();

0 commit comments

Comments
 (0)