fix: remove async from validateLinks method

This commit is contained in:
2025-12-16 14:01:43 -05:00
parent b17205c2f9
commit 6b6795bb00
3 changed files with 6 additions and 6 deletions

View File

@@ -445,12 +445,12 @@ export class LinkUtils {
* @param sourcePath Path of the file containing the links
* @returns Structured validation result with categorized links
*/
static async validateLinks(
static validateLinks(
vault: IVaultAdapter,
metadata: IMetadataCacheAdapter,
content: string,
sourcePath: string
): Promise<LinkValidationResult> {
): LinkValidationResult {
const valid: string[] = [];
const brokenNotes: BrokenNoteLink[] = [];
const brokenHeadings: BrokenHeadingLink[] = [];