mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-24 12:23:33 +00:00
chore: generate
This commit is contained in:
parent
c22942c1f3
commit
be53e3bd81
1 changed files with 8 additions and 6 deletions
|
|
@ -151,13 +151,15 @@ export const layer = (options?: Options) =>
|
|||
)
|
||||
if (!credential || credential.value.type !== "key") return []
|
||||
const variables = { [auth.env]: credential.value.key }
|
||||
const configs = yield* wellknown.resolve(entry, variables).pipe(
|
||||
Effect.catch(() =>
|
||||
Effect.logWarning("failed to load wellknown config", { source: entry.origin }).pipe(
|
||||
Effect.as([] as const),
|
||||
const configs = yield* wellknown
|
||||
.resolve(entry, variables)
|
||||
.pipe(
|
||||
Effect.catch(() =>
|
||||
Effect.logWarning("failed to load wellknown config", { source: entry.origin }).pipe(
|
||||
Effect.as([] as const),
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
)
|
||||
return yield* Effect.forEach(configs, (config) =>
|
||||
ConfigVariable.substitute({
|
||||
type: "virtual",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue