Merge pull request #143 from lil-bandit/formatted-json-config

Make the config JSON more readable
This commit is contained in:
Yami Odymel
2025-07-30 08:06:42 +08:00
committed by GitHub

View File

@@ -45,7 +45,7 @@ func (m *Manager) SaveConfig() error {
return true
})
b, err := json.Marshal(config)
b, err := json.MarshalIndent(config, "", " ")
if err != nil {
return fmt.Errorf("marshal: %w", err)
}