Skip to content

Commit 02b19bc

Browse files
chore: generate
1 parent 5cd54ec commit 02b19bc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/opencode/specs/effect-migration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ Some services are effectified but still use raw `Filesystem.*` or `Process.spawn
277277
Similarly, **28 files** still import raw `fs` or `fs/promises` directly. These should migrate to `AppFileSystem` or `Filesystem.*` as they're touched.
278278

279279
Current raw fs users that will convert during tool migration:
280+
280281
- `tool/read.ts` — fs.createReadStream, readline
281282
- `tool/apply_patch.ts` — fs/promises
282283
- `tool/bash.ts` — fs/promises

packages/opencode/src/format/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,10 @@ export namespace Format {
178178
}),
179179
)
180180

181-
export const defaultLayer = layer.pipe(Layer.provide(Config.defaultLayer), Layer.provide(CrossSpawnSpawner.defaultLayer))
181+
export const defaultLayer = layer.pipe(
182+
Layer.provide(Config.defaultLayer),
183+
Layer.provide(CrossSpawnSpawner.defaultLayer),
184+
)
182185

183186
const { runPromise } = makeRuntime(Service, defaultLayer)
184187

0 commit comments

Comments
 (0)