fix: Show positive message when no missing dependencies

Instead of displaying an empty "⚠ Missing Dependencies by Agent:" section
when all dependencies are resolved, now shows a positive message:
"✓ No missing dependencies"

This improves the user experience by providing clear feedback that workflow
vendoring successfully resolved all dependencies.
This commit is contained in:
Brian Madison 2025-11-05 21:10:18 -06:00
parent 281eac3373
commit 9a37cbb7fc

View File

@ -1549,7 +1549,10 @@ class WebBundler {
}
// Display warnings summary
if (this.stats.warnings.length > 0) {
// Check if there are actually any warnings with content
const hasActualWarnings = this.stats.warnings.some((w) => w && w.warnings && w.warnings.length > 0);
if (hasActualWarnings) {
console.log(chalk.yellow('\n⚠ Missing Dependencies by Agent:'));
// Group and display warnings by agent
@ -1563,6 +1566,8 @@ class WebBundler {
}
}
}
} else {
console.log(chalk.green('\n✓ No missing dependencies'));
}
// Final status