Indent backend.json to make it easier to update
This commit is contained in:
parent
6be1f78130
commit
00b041b981
|
@ -101,6 +101,7 @@ func (b *memoryBackend) save() {
|
|||
f, _ := os.Create(filename)
|
||||
defer f.Close()
|
||||
jw := json.NewEncoder(f)
|
||||
jw.SetIndent("", " ")
|
||||
jw.Encode(b)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user