From 677b19e22ebcc7897c65707b7c6f18b2b7ab714d Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Mon, 1 Dec 2025 16:59:32 -0600 Subject: [PATCH] fix: add .quiet --- packages/opencode/src/installation/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/installation/index.ts b/packages/opencode/src/installation/index.ts index 755236551..37b74fc39 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 })