Forráskód Böngészése

core: silently ignore proxy command failures to prevent config initialization crashes

Dax Raad 2 hete
szülő
commit
7c748ef089
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      packages/opencode/src/config/config.ts

+ 1 - 1
packages/opencode/src/config/config.ts

@@ -274,7 +274,7 @@ export namespace Config {
         ...(proxied() ? ["--no-cache"] : []),
         ...(proxied() ? ["--no-cache"] : []),
       ],
       ],
       { cwd: dir },
       { cwd: dir },
-    )
+    ).catch(() => {})
   }
   }
 
 
   async function isWritable(dir: string) {
   async function isWritable(dir: string) {