chore: generate
This commit is contained in:
parent
065dc274ec
commit
5e2a6257b2
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue