diff options
| author | Kit Langton <[email protected]> | 2026-04-15 22:01:53 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-16 02:01:53 +0000 |
| commit | cce05c16658a39d091f658bdb53dcce1e88c66d0 (patch) | |
| tree | bedd5e0c1d9105854e4dbf8ec0c6f7e1337df4c6 /packages/shared | |
| parent | 34213d444681a8953c5693bd01dd754c4e79a30b (diff) | |
| download | opencode-cce05c16658a39d091f658bdb53dcce1e88c66d0.tar.gz opencode-cce05c16658a39d091f658bdb53dcce1e88c66d0.zip | |
fix: clean up 49 unused variables, catch params, and stale imports (#22695)
Diffstat (limited to 'packages/shared')
| -rw-r--r-- | packages/shared/test/filesystem/filesystem.test.ts | 4 | ||||
| -rw-r--r-- | packages/shared/test/fixture/effect-flock-worker.ts | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/shared/test/filesystem/filesystem.test.ts b/packages/shared/test/filesystem/filesystem.test.ts index ce990d379..b49026bcb 100644 --- a/packages/shared/test/filesystem/filesystem.test.ts +++ b/packages/shared/test/filesystem/filesystem.test.ts @@ -290,7 +290,7 @@ describe("AppFileSystem", () => { it( "exists works", Effect.gen(function* () { - const fs = yield* AppFileSystem.Service + yield* AppFileSystem.Service const filesys = yield* FileSystem.FileSystem const tmp = yield* filesys.makeTempDirectoryScoped() const file = path.join(tmp, "exists.txt") @@ -304,7 +304,7 @@ describe("AppFileSystem", () => { it( "remove works", Effect.gen(function* () { - const fs = yield* AppFileSystem.Service + yield* AppFileSystem.Service const filesys = yield* FileSystem.FileSystem const tmp = yield* filesys.makeTempDirectoryScoped() const file = path.join(tmp, "delete-me.txt") diff --git a/packages/shared/test/fixture/effect-flock-worker.ts b/packages/shared/test/fixture/effect-flock-worker.ts index 7fd2e144a..c9116c2d5 100644 --- a/packages/shared/test/fixture/effect-flock-worker.ts +++ b/packages/shared/test/fixture/effect-flock-worker.ts @@ -1,5 +1,4 @@ import fs from "fs/promises" -import path from "path" import os from "os" import { Effect, Layer } from "effect" import { AppFileSystem } from "@opencode-ai/shared/filesystem" |
