chore(lint): burn down remaining warnings to zero

This commit is contained in:
William Valentin
2026-02-15 23:14:21 -08:00
parent 49b752e8b0
commit 948d4ac6d8
67 changed files with 235 additions and 256 deletions
+3 -2
View File
@@ -59,7 +59,8 @@ export function createSystemHandlers(deps: SystemHandlerDeps) {
},
'system.restart': async (request: GatewayRequest): Promise<OutboundMessage> => {
if (!deps.restart) {
const restart = deps.restart;
if (!restart) {
return makeError(request.id, ErrorCode.InternalError, 'Restart not available in this environment');
}
@@ -68,7 +69,7 @@ export function createSystemHandlers(deps: SystemHandlerDeps) {
// Schedule restart after response is sent (next tick)
queueMicrotask(() => {
deps.restart!().catch((err) => {
restart().catch((err) => {
console.error('Restart failed:', err);
});
});