Merge pull request #932 from filecoin-project/feat/cfg-uncomment-sections
config: Don't comment sections be default
This commit is contained in:
commit
c25f616562
@ -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