chore(generate_documents): add note about script being broken currently

This commit is contained in:
Panagiotis Papadopoulos 2025-01-20 22:54:12 +01:00
parent 3206a7fe73
commit 1d03818337

View File

@ -1,5 +1,5 @@
/** /**
* Usage: node src/tools/generate_document.js 1000 * Usage: tsx ./generate_document.ts 1000
* will create 1000 new notes and some clones into the current document.db * will create 1000 new notes and some clones into the current document.db
*/ */
@ -90,4 +90,6 @@ async function start() {
process.exit(0); process.exit(0);
} }
sqlInit.dbReady.then(cls.wrap(start)); // @TriliumNextTODO sqlInit.dbReady never seems to resolve so program hangs
// see https://github.com/TriliumNext/Notes/issues/1020
sqlInit.dbReady.then(cls.wrap(start)).catch((err) => console.error(err));