]> Untitled Git - lemmy-ui.git/commitdiff
Remove lint in generate translations.
authorDessalines <tyhou13@gmx.com>
Wed, 6 Jan 2021 21:06:13 +0000 (16:06 -0500)
committerDessalines <tyhou13@gmx.com>
Wed, 6 Jan 2021 21:06:13 +0000 (16:06 -0500)
generate_translations.js

index 153e6132cd6cfe8c8a5b2815c2e3e607cf0a76b9..0cab8e3603a5a9fd113363a9255cd3c25c406e68 100644 (file)
@@ -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 {