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:
parent
281eac3373
commit
9a37cbb7fc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue