Merge pull request #560 from code-yeongyu/fix/install-preserve-config

fix(cli): preserve user config on reinstall
This commit is contained in:
Kenny 2026-01-13 07:22:51 -05:00 committed by GitHub
commit cf66a86e16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -350,7 +350,6 @@ export function writeOmoConfig(installConfig: InstallConfig): ConfigMergeResult
return { success: true, configPath: omoConfigPath }
}
delete existing.agents
const merged = deepMerge(existing, newConfig)
writeFileSync(omoConfigPath, JSON.stringify(merged, null, 2) + "\n")
} catch (parseErr) {