Explorar el Código

chore: generate

opencode-agent[bot] hace 3 semanas
padre
commit
5e2a6257b2
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      packages/core/src/repository-cache.ts

+ 5 - 1
packages/core/src/repository-cache.ts

@@ -167,7 +167,11 @@ const layer: Layer.Layer<Service, never, FSUtil.Service | Git.Service | EffectFl
                   yield* cacheOperation(fs.remove(localPath, { recursive: true }), "remove stale cache", localPath)
                 }
 
-                const status = !reuse ? ("cloned" as const) : input.refresh ? ("refreshed" as const) : ("cached" as const)
+                const status = !reuse
+                  ? ("cloned" as const)
+                  : input.refresh
+                    ? ("refreshed" as const)
+                    : ("cached" as const)
 
                 if (status === "cloned") {
                   yield* git.repo