Skip to content

Commit 8994cbf

Browse files
chore: generate
1 parent 42a7734 commit 8994cbf

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

packages/opencode/src/project/project.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,11 @@ export namespace Project {
399399
const data = fromRow(row)
400400
return yield* Effect.forEach(
401401
data.sandboxes,
402-
(dir) => fsys.isDir(dir).pipe(Effect.orDie, Effect.map((ok) => (ok ? dir : undefined))),
402+
(dir) =>
403+
fsys.isDir(dir).pipe(
404+
Effect.orDie,
405+
Effect.map((ok) => (ok ? dir : undefined)),
406+
),
403407
{ concurrency: "unbounded" },
404408
).pipe(Effect.map((arr) => arr.filter((x): x is string => x !== undefined)))
405409
})

packages/opencode/test/project/project.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,9 @@ describe("Project.update", () => {
349349
const { project } = await Project.fromDirectory(tmp.path)
350350

351351
let eventPayload: any = null
352-
const on = (data: any) => { eventPayload = data }
352+
const on = (data: any) => {
353+
eventPayload = data
354+
}
353355
GlobalBus.on("event", on)
354356

355357
try {

0 commit comments

Comments
 (0)