mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 13:21:33 +08:00
feat(edit-docs): do proper becca cleaning before starting
This commit is contained in:
parent
d3cfc1c88b
commit
34ffba54ac
1 changed files with 4 additions and 0 deletions
|
|
@ -67,6 +67,10 @@ function importData(input: Buffer) {
|
||||||
|
|
||||||
const { runOnDemandChecks } = (await import("./src/services/consistency_checks.js")).default;
|
const { runOnDemandChecks } = (await import("./src/services/consistency_checks.js")).default;
|
||||||
await runOnDemandChecks(true);
|
await runOnDemandChecks(true);
|
||||||
|
|
||||||
|
becca.reset();
|
||||||
|
beccaLoader.load();
|
||||||
|
|
||||||
resolve();
|
resolve();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue