1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00

Fixed missing command

This commit is contained in:
Laurent Cozic 2021-09-04 14:36:52 +01:00
parent 95ad4c3177
commit 973121addd
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,7 @@ import * as renameFolder from './renameFolder';
import * as renameTag from './renameTag';
import * as search from './search';
import * as setTags from './setTags';
import * as showModalMessage from './showModalMessage';
import * as showNoteContentProperties from './showNoteContentProperties';
import * as showNoteProperties from './showNoteProperties';
import * as showPrompt from './showPrompt';
@ -48,6 +49,7 @@ const index: any[] = [
renameTag,
search,
setTags,
showModalMessage,
showNoteContentProperties,
showNoteProperties,
showPrompt,

View File

@ -4,7 +4,7 @@ const rootDir = utils.rootDir();
const pathUtils = require('@joplin/lib/path-utils');
async function processDirectory(dir) {
const tsFiles = glob.sync('*.ts', {
const tsFiles = glob.sync('{**/*.ts,**/*.tsx}', {
cwd: dir,
}).filter(f => f !== 'index.ts');