From: Dessalines Date: Wed, 6 Jan 2021 21:06:13 +0000 (-0500) Subject: Remove lint in generate translations. X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%7B%60%24%7BghostArchiveUrl%7D/%7BimageSrc%7D?a=commitdiff_plain;h=b448cb8f0e95d3a977cc7e50c75c53b7c7291bb8;p=lemmy-ui.git Remove lint in generate translations. --- diff --git a/generate_translations.js b/generate_translations.js index 153e613..0cab8e3 100644 --- a/generate_translations.js +++ b/generate_translations.js @@ -3,7 +3,7 @@ fs = require('fs'); let translationDir = 'lemmy-translations/translations/'; let outDir = 'src/shared/translations/'; fs.mkdirSync(outDir, { recursive: true }); -fs.readdir(translationDir, (err, files) => { +fs.readdir(translationDir, (_err, files) => { files.forEach(filename => { const lang = filename.split('.')[0]; try {