Formatted json in config

This commit is contained in:
lil-bandit 2025-07-28 21:33:38 +02:00
parent 3bf6963a01
commit 6c11761b3e

View File

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