opencode-agent[bot] 2 месяцев назад
Родитель
Сommit
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),
             catch: errorMessage,
           }).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,
           )
           if (init._tag === "Some") hooks.push(init.value)