config: end the file with a newline

Small cosmetic change, POSIX requires final newlines in text files.

https://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline
pull/1141/head
Jordi Gutiérrez Hermoso 2 months ago committed by jordigh
parent f9e7558410
commit f0aacc4d96

@ -98,7 +98,7 @@ export class FileConfig<FileContents> {
}
public async persistToDisk() {
await Deps.writeFile(this._filePath, JSON.stringify(this._rawConfig, null, 2));
await Deps.writeFile(this._filePath, JSON.stringify(this._rawConfig, null, 2) + "\n");
}
}

Loading…
Cancel
Save