diff options
| author | Aiden Cline <[email protected]> | 2025-12-01 16:59:32 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2025-12-01 16:59:32 -0600 |
| commit | 677b19e22ebcc7897c65707b7c6f18b2b7ab714d (patch) | |
| tree | 347a682b3168bf6419e660e21479f5190711a9f3 | |
| parent | 8e248ae045d7d682ff9766d7d7be5c29f0174112 (diff) | |
| download | opencode-677b19e22ebcc7897c65707b7c6f18b2b7ab714d.tar.gz opencode-677b19e22ebcc7897c65707b7c6f18b2b7ab714d.zip | |
fix: add .quiet
| -rw-r--r-- | packages/opencode/src/installation/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 }) |
