Przeglądaj źródła

fix: respect local config for autoupdate settings (#3408)

Co-authored-by: Claude <noreply@anthropic.com>
Andrew Pashynnyk 10 miesięcy temu
rodzic
commit
883b71ac36
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/opencode/src/cli/cmd/tui.ts

+ 1 - 1
packages/opencode/src/cli/cmd/tui.ts

@@ -157,7 +157,7 @@ export const TuiCommand = cmd({
 
         ;(async () => {
           // if (Installation.isLocal()) return
-          const config = await Config.global()
+          const config = await Config.get()
           if (config.autoupdate === false || Flag.OPENCODE_DISABLE_AUTOUPDATE) return
           const latest = await Installation.latest().catch(() => {})
           if (!latest) return