We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b78c2c3 commit 04920abCopy full SHA for 04920ab
src/Elastic.Markdown/IO/Navigation/NavigationCrossLinkValidator.cs
@@ -15,11 +15,11 @@ public static class NavigationCrossLinkValidator
15
public static async Task ValidateNavigationCrossLinksAsync(
16
INavigationItem root,
17
ICrossLinkResolver crossLinkResolver,
18
- Action<string> errorEmitter)
+ Action<string> errorEmitter,
19
+ Cancel ctx = default)
20
{
21
// Ensure cross-links are fetched before validation
- _ = await crossLinkResolver.FetchLinks(new Cancel());
22
-
+ _ = await crossLinkResolver.FetchLinks(ctx);
23
// Collect all navigation items that contain cross-repo links
24
var itemsWithCrossLinks = FindNavigationItemsWithCrossLinks(root);
25
0 commit comments