Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix: use filteredErrors.length instead of printErrors return value
Sushmithamallesh committed
Jan 8, 2026 at 11:47 UTC
fe532c83019036a077ac25329cd961e83789c82a
1 file changed
+2
-2
fumadocs/scripts/validate-links.ts
+2
-2
@@ -68,8 +68,8 @@ async function checkLinks() {
68
}))
69
.filter((fileError) => fileError.errors.length > 0);
70
71
- const hasErrors = printErrors(filteredErrors, true);
72
- if (hasErrors) {
71
+ printErrors(filteredErrors, true);
72
+ if (filteredErrors.length > 0) {
73
process.exit(1);
74
}
75
}