style: auto-fix ESLint issues (curly braces and formatting)
- Add curly braces to all if/else/for/while statements - Fix indentation and trailing spaces - Auto-fixed 372 linting errors using eslint --fix - Remaining issues are warnings only (non-null assertions, explicit any types)
This commit is contained in:
@@ -327,7 +327,7 @@ export class GatewayServer {
|
||||
|
||||
if (uiDir) {
|
||||
const served = await serveStatic(req, res, uiDir);
|
||||
if (served) return;
|
||||
if (served) {return;}
|
||||
}
|
||||
|
||||
// No UI directory configured, or file not found
|
||||
@@ -344,7 +344,7 @@ export class GatewayServer {
|
||||
}
|
||||
|
||||
// Inject connectionId into params so handlers can identify the client
|
||||
if (!request.params) request.params = {};
|
||||
if (!request.params) {request.params = {};}
|
||||
request.params.connectionId = connectionId;
|
||||
|
||||
const send = (msg: OutboundMessage) => this.send(ws, msg);
|
||||
|
||||
Reference in New Issue
Block a user