if this works well, then I am happier
This commit is contained in:
parent
9dbc7c6615
commit
964aaf823d
|
@ -154,6 +154,7 @@ func configWrite(filename string, data []byte) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if filename == "forge.text" {
|
if filename == "forge.text" {
|
||||||
|
log.Infof("%s : your preferences file has been updated. (%d) bytes\n", fullname, len(data))
|
||||||
// add header
|
// add header
|
||||||
cfgfile.Write([]byte("\n"))
|
cfgfile.Write([]byte("\n"))
|
||||||
cfgfile.Write([]byte("# this file is intended to be used to customize settings on what\n"))
|
cfgfile.Write([]byte("# this file is intended to be used to customize settings on what\n"))
|
||||||
|
|
Loading…
Reference in New Issue