Skip to content

Commit f7514d9

Browse files
authored
refactor(tool): convert bash to defineEffect with ChildProcessSpawner (#21895)
1 parent 180ded6 commit f7514d9

File tree

6 files changed

+293
-262
lines changed

6 files changed

+293
-262
lines changed

packages/opencode/src/effect/run-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { WorkspaceContext } from "@/control-plane/workspace-context"
88

99
export const memoMap = Layer.makeMemoMapUnsafe()
1010

11-
function attach<A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, E, R> {
11+
export function attach<A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, E, R> {
1212
try {
1313
const ctx = Instance.current
1414
const workspaceID = WorkspaceContext.workspaceID

0 commit comments

Comments
 (0)