mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-20 23:13:35 +00:00
🧹 chore: Clear the Whole-Repo Lint Errors on Dev (#17702)
This commit is contained in:
parent
ced4cba6d4
commit
49ecc0695b
42 changed files with 117 additions and 154 deletions
|
|
@ -86,4 +86,6 @@ for (const relative of await jsonFiles(baseDir)) {
|
|||
changedFiles += 1;
|
||||
}
|
||||
|
||||
console.log(`Preserved ${restored} repository translation value(s) across ${changedFiles} file(s).`);
|
||||
console.log(
|
||||
`Preserved ${restored} repository translation value(s) across ${changedFiles} file(s).`,
|
||||
);
|
||||
|
|
|
|||
|
|
@ -100,7 +100,10 @@ for (const relative of baseFiles) {
|
|||
|
||||
const englishRelative = path.join('en', 'translation.json');
|
||||
if (currentSet.has(englishRelative)) {
|
||||
const english = await loadJson(path.join(currentDir, englishRelative), `download/${englishRelative}`);
|
||||
const english = await loadJson(
|
||||
path.join(currentDir, englishRelative),
|
||||
`download/${englishRelative}`,
|
||||
);
|
||||
if (english !== null) {
|
||||
const englishValues = flatten(english);
|
||||
for (const relative of currentFiles) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue