Small clean up

This commit is contained in:
Andras Schmelczer 2025-11-29 14:24:15 +00:00
parent 84f077f36b
commit 5417c1ddd0
3 changed files with 11 additions and 9 deletions

View file

@ -198,6 +198,9 @@ export class Database {
relativePath: RelativePath,
promise: Promise<unknown>
): DocumentRecord {
this.logger.debug(
`Creating new pending document: ${relativePath} (${documentId})`
);
const previousEntry =
this.getLatestDocumentByRelativePath(relativePath);