Merge pull request #560 from code-yeongyu/fix/install-preserve-config
fix(cli): preserve user config on reinstall
This commit is contained in:
commit
cf66a86e16
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user