mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-21 18:26:09 +00:00
chore: generate
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user