summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorJames Long <[email protected]>2026-04-16 16:26:33 -0400
committerGitHub <[email protected]>2026-04-16 20:26:33 +0000
commit26af77cd1e0b34de2bc171a665c2cc7819c15110 (patch)
tree0d405ea89be2d229f4653c59f2a31fe761a909cb /packages
parent25a9de301ad83ac7f6c8ec5ed67d81ee4d2a0221 (diff)
downloadopencode-26af77cd1e0b34de2bc171a665c2cc7819c15110.tar.gz
opencode-26af77cd1e0b34de2bc171a665c2cc7819c15110.zip
fix(core): fix detection of local installation channel (#22899)
Diffstat (limited to 'packages')
-rw-r--r--packages/opencode/src/installation/version.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/installation/version.ts b/packages/opencode/src/installation/version.ts
index f1668d264..25d9cd99a 100644
--- a/packages/opencode/src/installation/version.ts
+++ b/packages/opencode/src/installation/version.ts
@@ -5,4 +5,4 @@ declare global {
export const InstallationVersion = typeof OPENCODE_VERSION === "string" ? OPENCODE_VERSION : "local"
export const InstallationChannel = typeof OPENCODE_CHANNEL === "string" ? OPENCODE_CHANNEL : "local"
-export const InstallationLocal = InstallationVersion === "local"
+export const InstallationLocal = InstallationChannel === "local"