opencode-agent[bot] před 4 měsíci
rodič
revize
7a54a2c49c
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  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)