chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-18 16:20:46 +00:00
parent 896ad7b884
commit e3feca09b3
@@ -181,9 +181,7 @@ const ensureWithServices = Effect.fn("RepositoryCache.ensureWithServices")(funct
),
() =>
Effect.gen(function* () {
yield* services.fs
.ensureDir(path.dirname(localPath))
.pipe(
yield* services.fs.ensureDir(path.dirname(localPath)).pipe(
Effect.catch((error: unknown) =>
Effect.fail(
new CacheOperationError({
@@ -203,9 +201,7 @@ const ensureWithServices = Effect.fn("RepositoryCache.ensureWithServices")(funct
const originReference = origin?.exitCode === 0 ? parseRepositoryReference(origin.text().trim()) : undefined
const reuse = hasGitDir && Boolean(originReference && sameRepositoryReference(originReference, cloneTarget))
if (exists && !reuse) {
yield* services.fs
.remove(localPath, { recursive: true })
.pipe(
yield* services.fs.remove(localPath, { recursive: true }).pipe(
Effect.catch((error: unknown) =>
Effect.fail(
new CacheOperationError({