From e8b462932031429670d726d6375b53d8f955203e Mon Sep 17 00:00:00 2001 From: Jessica Lawshe Date: Tue, 29 Sep 2020 09:30:16 -0500 Subject: [PATCH] Merge pull request #3244 from overleaf/jpa-locales-trailing-new-line [misc] add a trailing new line to the downloaded locales files GitOrigin-RevId: 5111ca1147b2ae355cc9db87c010536e3861a23c --- services/web/scripts/translations/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/scripts/translations/download.js b/services/web/scripts/translations/download.js index fe73e089cf..02331ef7a0 100644 --- a/services/web/scripts/translations/download.js +++ b/services/web/scripts/translations/download.js @@ -30,7 +30,7 @@ async function run() { const outputLngCode = code === 'en-GB' ? 'en' : code await fs.writeFile( `${__dirname}/../../locales/${outputLngCode}.json`, - JSON.stringify(lang.translation, null, 2) + JSON.stringify(lang.translation, null, 2) + '\n' ) } } catch (error) {