opencode-agent[bot] 3 месяцев назад
Родитель
Сommit
f9371eb66c
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/opencode/src/effect/bridge.ts

+ 2 - 2
packages/opencode/src/effect/bridge.ts

@@ -35,8 +35,8 @@ function captureSync() {
         if (!(err instanceof LocalContext.NotFound)) throw err
         if (!(err instanceof LocalContext.NotFound)) throw err
       }
       }
     })()
     })()
-  const workspace = (fiber ? Context.getReferenceUnsafe(fiber.context, WorkspaceRef) : undefined) ??
-    WorkspaceContext.workspaceID
+  const workspace =
+    (fiber ? Context.getReferenceUnsafe(fiber.context, WorkspaceRef) : undefined) ?? WorkspaceContext.workspaceID
   return { instance, workspace }
   return { instance, workspace }
 }
 }