style&&chore: lint

This commit is contained in:
手瓜一十雪 committed 2024-08-14 00:47:50 +08:00
1 parent 516838c521
commit 26ffec43fe
10 files changed
+118 -118

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ export class OB11PassiveWebSocketAdapter implements IOB11NetworkAdapter {
this.heartbeatInterval = heartbeatInterval;
this.wsServer = new WebSocketServer({ port: port, host: ip });
let core = coreContext;
const core = coreContext;
this.wsServer.on('connection', async (wsClient, wsReq) => {
if (!this.isOpen) {
wsClient.close();