mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 22:10:23 +00:00
feat: enable type-aware no-floating-promises rule, fix all 177 violations (#22741)
This commit is contained in:
parent
343a564183
commit
80f1f1b5b8
103 changed files with 212 additions and 187 deletions
|
|
@ -111,7 +111,7 @@ export const createSseClient = <TData = unknown>({
|
|||
|
||||
const abortHandler = () => {
|
||||
try {
|
||||
reader.cancel()
|
||||
void reader.cancel()
|
||||
} catch {
|
||||
// noop
|
||||
}
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ export const createSseClient = <TData = unknown>({
|
|||
|
||||
const abortHandler = () => {
|
||||
try {
|
||||
reader.cancel()
|
||||
void reader.cancel()
|
||||
} catch {
|
||||
// noop
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue