projects
/
lemmy-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e5c955
)
Remove lint in generate translations.
author
Dessalines
<tyhou13@gmx.com>
Wed, 6 Jan 2021 21:06:13 +0000
(16:06 -0500)
committer
Dessalines
<tyhou13@gmx.com>
Wed, 6 Jan 2021 21:06:13 +0000
(16:06 -0500)
generate_translations.js
patch
|
blob
|
history
diff --git
a/generate_translations.js
b/generate_translations.js
index 153e6132cd6cfe8c8a5b2815c2e3e607cf0a76b9..0cab8e3603a5a9fd113363a9255cd3c25c406e68 100644
(file)
--- 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 {