The open source coding agent.
TypeScript
chore: rm comments
Aiden Cline2e10ffac6b4f
diff --git a/packages/opencode/src/installation/index.ts b/packages/opencode/src/installation/index.tsindex effe19721b4..975ca749bce 100644--- a/packages/opencode/src/installation/index.ts+++ b/packages/opencode/src/installation/index.ts@@ -167,7 +167,6 @@ export namespace Installation {export async function latest(installMethod?: Method) {const detectedMethod = installMethod || (await method())- // Use brew formula API for homebrew core formulaif (detectedMethod === "brew") {const formula = await getBrewFormula()if (formula === "opencode") {@@ -180,7 +179,6 @@ export namespace Installation {}}- // Use npm registry for npm/bun/pnpmif (detectedMethod === "npm" || detectedMethod === "bun" || detectedMethod === "pnpm") {const registry = await iife(async () => {const r = (await $`npm config get registry`.quiet().nothrow().text()).trim()@@ -196,7 +194,6 @@ export namespace Installation {.then((data: any) => data.version)}- // Use GitHub releases for everything else (curl, yarn, brew tap, unknown)return fetch("https://api.github.com/repos/sst/opencode/releases/latest").then((res) => {if (!res.ok) throw new Error(res.statusText)