The open source coding agent.
TypeScript
fix: add .quiet
Aiden Cline677b19e22ebc
diff --git a/packages/opencode/src/installation/index.ts b/packages/opencode/src/installation/index.tsindex 7552365517b..37b74fc39b4 100644--- a/packages/opencode/src/installation/index.ts+++ b/packages/opencode/src/installation/index.ts@@ -165,7 +165,7 @@ export namespace Installation {export async function latest() {const registry = await iife(async () => {- const r = (await $`npm config get registry`.throws(false).text()).trim()+ const r = (await $`npm config get registry`.quiet().nothrow().text()).trim()const reg = r || "https://registry.npmjs.org"return reg.endsWith("/") ? reg.slice(0, -1) : reg})