Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
fix: use filteredErrors.length instead of printErrors return value
Sushmithamalleshfe532c830190
diff --git a/fumadocs/scripts/validate-links.ts b/fumadocs/scripts/validate-links.tsindex 2e0ef5069..08b76de17 100644--- a/fumadocs/scripts/validate-links.ts+++ b/fumadocs/scripts/validate-links.ts@@ -68,8 +68,8 @@ async function checkLinks() {})).filter((fileError) => fileError.errors.length > 0);- const hasErrors = printErrors(filteredErrors, true);- if (hasErrors) {+ printErrors(filteredErrors, true);+ if (filteredErrors.length > 0) {process.exit(1);}}