port dump-db and other tools to TS

This commit is contained in:
Jin
2024-08-10 18:23:49 +02:00
parent 2cc34efbde
commit b83c6023c4
18 changed files with 1197 additions and 518 deletions

View File

@@ -107,7 +107,7 @@ function getNewNoteTitle(parentNote: BNote) {
// - now
// - parentNote
title = eval(`\`${titleTemplate}\``);
title = (0, eval)(`\`${titleTemplate}\``);
} catch (e: any) {
log.error(`Title template of note '${parentNote.noteId}' failed with: ${e.message}`);
}