chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-02 13:44:07 +00:00
parent fcfd47602b
commit 9c37286732

View File

@ -197,18 +197,16 @@ export const layer: Layer.Layer<
}) })
} }
const checkout = yield* git const checkout = yield* git.checkout(localPath, requestedBranch).pipe(
.checkout(localPath, requestedBranch) Effect.mapError(
.pipe( (error) =>
Effect.mapError( new CheckoutFailedError({
(error) => repository,
new CheckoutFailedError({ branch: requestedBranch,
repository, message: errorMessage(error),
branch: requestedBranch, }),
message: errorMessage(error), ),
}), )
),
)
if (checkout.exitCode !== 0) { if (checkout.exitCode !== 0) {
return yield* new CheckoutFailedError({ return yield* new CheckoutFailedError({
repository, repository,