From b448cb8f0e95d3a977cc7e50c75c53b7c7291bb8 Mon Sep 17 00:00:00 2001 From: Dessalines <tyhou13@gmx.com> Date: Wed, 6 Jan 2021 16:06:13 -0500 Subject: [PATCH] Remove lint in generate translations. --- generate_translations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.44.1