mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-04 23:20:37 +00:00
parent
c38044106c
commit
5b7fa01825
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ func WriteSettings(filename string) error {
|
|||
}
|
||||
|
||||
txt, _ := json5.MarshalIndent(parsed, "", " ")
|
||||
err = ioutil.WriteFile(filename, txt, 0644)
|
||||
err = ioutil.WriteFile(filename, append(txt, '\n'), 0644)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue