chore: generate
This commit is contained in:
parent
76ee87ead8
commit
b0a929440b
87 changed files with 2301 additions and 1599 deletions
|
|
@ -151,11 +151,10 @@ export const layer = Layer.effect(
|
|||
}),
|
||||
({ skill, root, files }) =>
|
||||
Effect.gen(function* () {
|
||||
yield* Effect.forEach(
|
||||
files,
|
||||
(file) => download(file.url, file.destination),
|
||||
{ concurrency: fileConcurrency, discard: true },
|
||||
)
|
||||
yield* Effect.forEach(files, (file) => download(file.url, file.destination), {
|
||||
concurrency: fileConcurrency,
|
||||
discard: true,
|
||||
})
|
||||
return (yield* fs.exists(path.join(root, "SKILL.md")).pipe(Effect.orDie)) ||
|
||||
(yield* fs.exists(path.join(root, `${skill.name}.md`)).pipe(Effect.orDie))
|
||||
? [AbsolutePath.make(root)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue