Skip to content

Commit 26af77c

Browse files
authored
fix(core): fix detection of local installation channel (#22899)
1 parent 25a9de3 commit 26af77c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/installation/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ declare global {
55

66
export const InstallationVersion = typeof OPENCODE_VERSION === "string" ? OPENCODE_VERSION : "local"
77
export const InstallationChannel = typeof OPENCODE_CHANNEL === "string" ? OPENCODE_CHANNEL : "local"
8-
export const InstallationLocal = InstallationVersion === "local"
8+
export const InstallationLocal = InstallationChannel === "local"

0 commit comments

Comments
 (0)