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
This commit is contained in:
Jessica Lawshe
2020-09-30 02:04:51 +00:00
committed by Copybot
parent 2a3cb615ee
commit e8b4629320
@@ -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) {