Procházet zdrojové kódy

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

factor2
Edgars Voroboks před 11 měsíci
rodič
revize
aa506a7607
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      lang/update-translation.js

+ 1
- 1
lang/update-translation.js Zobrazit soubor

@@ -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");

Načítá se…
Zrušit
Uložit