chore: generate
This commit is contained in:
parent
9bb5370205
commit
3730125f8f
14 changed files with 1708 additions and 613 deletions
|
|
@ -169,7 +169,8 @@ export const layer: Layer.Layer<Service, never, FSUtil.Service | Git.Service | E
|
|||
}
|
||||
|
||||
if (status === "refreshed") {
|
||||
if (!existing) return yield* new FetchFailedError({ repository, message: "Repository is unavailable" })
|
||||
if (!existing)
|
||||
return yield* new FetchFailedError({ repository, message: "Repository is unavailable" })
|
||||
yield* git.sync
|
||||
.fetchRemotes(existing)
|
||||
.pipe(Effect.mapError((error) => new FetchFailedError({ repository, message: error.message })))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue