aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/configfile/config_file.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/configfile/config_file.go b/internal/configfile/config_file.go
index 97a1f3a..603f276 100644
--- a/internal/configfile/config_file.go
+++ b/internal/configfile/config_file.go
@@ -193,6 +193,8 @@ func (cf *ConfFile) WriteFile() error {
if err != nil {
return err
}
+ // For convenience for the user, add a newline at the end.
+ js = append(js, '\n')
_, err = fd.Write(js)
if err != nil {
return err