From: Dessalines Date: Wed, 6 Jan 2021 21:06:13 +0000 (-0500) Subject: Remove lint in generate translations. X-Git-Url: http://these/git/%22https:/nerdica.net/%7B%24%7B%60data:application/manifest%20json;base64%2C%24%7Bawait?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 {