Ver código fonte

fix(lang): Add newline at the end of generated lang file

factor2
Edgars Voroboks 11 meses atrás
pai
commit
aa506a7607
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      lang/update-translation.js

+ 1
- 1
lang/update-translation.js Ver arquivo

@@ -35,4 +35,4 @@ for (const path of paths) {
35 35
 
36 36
 const data = JSON.stringify(result, undefined, 4);
37 37
 
38
-fs.writeFileSync(`./${targetLangFile}`, data);
38
+fs.writeFileSync(`./${targetLangFile}`, data + "\n");

Carregando…
Cancelar
Salvar