mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +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:
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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user