diff options
| author | Kit Langton <[email protected]> | 2026-04-15 23:27:32 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-15 23:27:32 -0400 |
| commit | 80f1f1b5b8535b6008af54621665738115346cde (patch) | |
| tree | b963eaa4fe01c79390b9058ed54081a91d5180a2 /packages/slack | |
| parent | 343a564183d3c1aa3fc4f46896c2350bda2d2058 (diff) | |
| download | opencode-80f1f1b5b8535b6008af54621665738115346cde.tar.gz opencode-80f1f1b5b8535b6008af54621665738115346cde.zip | |
feat: enable type-aware no-floating-promises rule, fix all 177 violations (#22741)
Diffstat (limited to 'packages/slack')
| -rw-r--r-- | packages/slack/src/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/slack/src/index.ts b/packages/slack/src/index.ts index 85d685129..bd5523a2a 100644 --- a/packages/slack/src/index.ts +++ b/packages/slack/src/index.ts @@ -20,7 +20,7 @@ const opencode = await createOpencode({ console.log("✅ Opencode server ready") const sessions = new Map<string, { client: any; server: any; sessionId: string; channel: string; thread: string }>() -;(async () => { +void (async () => { const events = await opencode.client.event.subscribe() for await (const event of events.stream) { if (event.type === "message.part.updated") { @@ -29,7 +29,7 @@ const sessions = new Map<string, { client: any; server: any; sessionId: string; // Find the session for this tool update for (const [_sessionKey, session] of sessions.entries()) { if (session.sessionId === part.sessionID) { - handleToolUpdate(part, session.channel, session.thread) + void handleToolUpdate(part, session.channel, session.thread) break } } |
