Browse Source

chore: generate

opencode-agent[bot] 6 days ago
parent
commit
be53e3bd81
1 changed files with 8 additions and 6 deletions
  1. 8 6
      packages/core/src/config.ts

+ 8 - 6
packages/core/src/config.ts

@@ -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",