mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-10 05:56:29 +00:00
Add an empty line at the end of the rc file when writing to it
This commit is contained in:
parent
a973379bd5
commit
cd8369f681
2 changed files with 4 additions and 3 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue