From f0aacc4d9684f22b1dae1eff98cc9c8dee612b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordi=20Guti=C3=A9rrez=20Hermoso?= Date: Mon, 22 Jul 2024 09:43:29 -0400 Subject: [PATCH] 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 --- app/server/lib/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/server/lib/config.ts b/app/server/lib/config.ts index 490cddcf..f6681546 100644 --- a/app/server/lib/config.ts +++ b/app/server/lib/config.ts @@ -98,7 +98,7 @@ export class FileConfig { } 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"); } }