Przeglądaj źródła

fix(core): fix detection of local installation channel (#22899)

James Long 4 miesięcy temu
rodzic
commit
26af77cd1e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/opencode/src/installation/version.ts

+ 1 - 1
packages/opencode/src/installation/version.ts

@@ -5,4 +5,4 @@ declare global {
 
 
 export const InstallationVersion = typeof OPENCODE_VERSION === "string" ? OPENCODE_VERSION : "local"
 export const InstallationVersion = typeof OPENCODE_VERSION === "string" ? OPENCODE_VERSION : "local"
 export const InstallationChannel = typeof OPENCODE_CHANNEL === "string" ? OPENCODE_CHANNEL : "local"
 export const InstallationChannel = typeof OPENCODE_CHANNEL === "string" ? OPENCODE_CHANNEL : "local"
-export const InstallationLocal = InstallationVersion === "local"
+export const InstallationLocal = InstallationChannel === "local"