浏览代码

chore: generate

opencode-agent[bot] 3 月之前
父节点
当前提交
7a54a2c49c
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      packages/opencode/src/plugin/index.ts

+ 1 - 3
packages/opencode/src/plugin/index.ts

@@ -164,9 +164,7 @@ export const layer = Layer.effect(
             try: () => plugin(input),
             try: () => plugin(input),
             catch: errorMessage,
             catch: errorMessage,
           }).pipe(
           }).pipe(
-            Effect.tapError((error) =>
-              Effect.logError("failed to load internal plugin", { name: plugin.name, error }),
-            ),
+            Effect.tapError((error) => Effect.logError("failed to load internal plugin", { name: plugin.name, error })),
             Effect.option,
             Effect.option,
           )
           )
           if (init._tag === "Some") hooks.push(init.value)
           if (init._tag === "Some") hooks.push(init.value)