Add an empty line at the end of the rc file when writing to it

This commit is contained in:
Jeroen Engels 2016-03-06 23:05:18 +01:00
parent a973379bd5
commit cd8369f681
2 changed files with 4 additions and 3 deletions

View file

@ -9,7 +9,8 @@ function formatCommaFirst(o) {
.map(function (e, i) { .map(function (e, i) {
return i % 2 ? '\n' + e.substring(4) + ', ' : e return i % 2 ? '\n' + e.substring(4) + ', ' : e
}) })
.join(''); .join('')
+ '\n';
} }
function readConfig(configPath) { function readConfig(configPath) {