mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Tools: Fixed build-translation tool on macOS
This commit is contained in:
parent
4aef72572d
commit
4c95872826
@ -113,7 +113,7 @@ async function createPotFile(potFilePath) {
|
||||
'./Tools/*',
|
||||
];
|
||||
|
||||
const findCommand = `find ./ -iname '*.js' -not -path '${excludedDirs.join('\' -not -path \'')}'`;
|
||||
const findCommand = `find . -iname '*.js' -not -path '${excludedDirs.join('\' -not -path \'')}'`;
|
||||
|
||||
process.chdir(`${__dirname}/..`);
|
||||
const files = (await execCommand(findCommand)).split('\n');
|
||||
|
Loading…
Reference in New Issue
Block a user