config: don't comment sections be default
This commit is contained in:
parent
d58569c406
commit
5154f525d3
@ -44,6 +44,7 @@ func ConfigComment(t interface{}) ([]byte, error) {
|
||||
}
|
||||
b := buf.Bytes()
|
||||
b = bytes.ReplaceAll(b, []byte("\n"), []byte("\n#"))
|
||||
b = bytes.ReplaceAll(b, []byte("#["), []byte("["))
|
||||
return b, nil
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user