diff options
| author | Kit Langton <[email protected]> | 2026-04-15 21:33:54 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-15 21:33:54 -0400 |
| commit | f7d4665e4091c88c2fde0f9db70d6333f83b86fd (patch) | |
| tree | 6ba0c28c195c73bfe93e2db478592a5de1d39733 /github | |
| parent | bbdbc107ae1f935f9694fc36b79c833643ee87a4 (diff) | |
| download | opencode-f7d4665e4091c88c2fde0f9db70d6333f83b86fd.tar.gz opencode-f7d4665e4091c88c2fde0f9db70d6333f83b86fd.zip | |
fix: resolve oxlint warnings — suppress false positives, remove unused imports (#22687)
Diffstat (limited to 'github')
| -rw-r--r-- | github/index.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/github/index.ts b/github/index.ts index 6bfa96462..be8e5aafc 100644 --- a/github/index.ts +++ b/github/index.ts @@ -281,7 +281,7 @@ async function assertOpencodeConnected() { }) connected = true break - } catch (e) {} + } catch {} await sleep(300) } while (retry++ < 30) @@ -561,7 +561,7 @@ async function subscribeSessionEvents() { if (evt.properties.info.id !== session.id) continue session = evt.properties.info } - } catch (e) { + } catch { // Ignore parse errors } } @@ -576,7 +576,7 @@ async function subscribeSessionEvents() { async function summarize(response: string) { try { return await chat(`Summarize the following in less than 40 characters:\n\n${response}`) - } catch (e) { + } catch { if (isScheduleEvent()) { return "Scheduled task changes" } |
