mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-11 06:43:44 +00:00
fix(core): fix detection of local installation channel (#22899)
This commit is contained in:
parent
25a9de301a
commit
26af77cd1e
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue