1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Desktop: Fixes #7834: Merged shorthand variants of spellcheck languages (#9983)

This commit is contained in:
Ton Hoang Nguyen (Bill)
2024-02-26 10:27:34 +00:00
committed by GitHub
parent 0b63ba1a28
commit 64684dc896
5 changed files with 62 additions and 2 deletions

View File

@ -12,7 +12,12 @@ async function processDirectory(dir, indexFilePath = null, typeScriptType = null
const tsFiles = glob.sync('{**/*.ts,**/*.tsx}', {
cwd: dir,
}).filter(f => `${dir}/${f}` !== indexFilePath);
}).filter(f => `${dir}/${f}` !== indexFilePath)
//
// Exclude Jest test files to
// not include them in index.ts
//
.filter(f => !f.endsWith('.test.ts'));
tsFiles.sort();