Remove lint in generate translations.

This commit is contained in:
Dessalines 2021-01-06 16:06:13 -05:00
parent 9e5c955a2f
commit b448cb8f0e

View file

@ -3,7 +3,7 @@ fs = require('fs');
let translationDir = 'lemmy-translations/translations/'; let translationDir = 'lemmy-translations/translations/';
let outDir = 'src/shared/translations/'; let outDir = 'src/shared/translations/';
fs.mkdirSync(outDir, { recursive: true }); fs.mkdirSync(outDir, { recursive: true });
fs.readdir(translationDir, (err, files) => { fs.readdir(translationDir, (_err, files) => {
files.forEach(filename => { files.forEach(filename => {
const lang = filename.split('.')[0]; const lang = filename.split('.')[0];
try { try {