mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 04:11:12 +00:00
Remove lint in generate translations.
This commit is contained in:
parent
9e5c955a2f
commit
b448cb8f0e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue