mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
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
This commit is contained in:
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…
Reference in New Issue
Block a user