mirror of
https://github.com/laurent22/joplin.git
synced 2025-03-20 20:55:18 +02:00
Tools: Filtered out problem files from translation build
This commit is contained in:
parent
5c7fa587c0
commit
e9c11f5ac3
@ -119,8 +119,8 @@ async function createPotFile(potFilePath) {
|
||||
let files = (await execCommand(findCommand)).split('\n');
|
||||
|
||||
files = files.filter(f => {
|
||||
if (f.endsWith('.min.js')) return false;
|
||||
if (f.endsWith('.bundle.js')) return false;
|
||||
if (f.endsWith('CodeMirror.bundle.min.js')) return false;
|
||||
if (f.endsWith('CodeMirror.bundle.js')) return false;
|
||||
if (f.endsWith('.test.js')) return false;
|
||||
if (f.endsWith('.eslintrc.js')) return false;
|
||||
if (f.endsWith('jest.config.js')) return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user