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
|
|
@ -10,7 +10,7 @@ import { $ } from "bun"
|
|||
import { tmpdir } from "../fixture/fixture"
|
||||
import { Effect } from "effect"
|
||||
|
||||
Log.init({ print: false })
|
||||
void Log.init({ print: false })
|
||||
|
||||
function run<A>(fn: (svc: Project.Interface) => Effect.Effect<A>) {
|
||||
return Effect.runPromise(
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import { NodePath } from "@effect/platform-node"
|
|||
import { AppFileSystem } from "@opencode-ai/shared/filesystem"
|
||||
import * as CrossSpawnSpawner from "../../src/effect/cross-spawn-spawner"
|
||||
|
||||
Log.init({ print: false })
|
||||
void Log.init({ print: false })
|
||||
|
||||
const encoder = new TextEncoder()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue