From 9a37cbb7fc757b3c2ed210667813f05c2d2474ce Mon Sep 17 00:00:00 2001 From: Brian Madison Date: Wed, 5 Nov 2025 21:10:18 -0600 Subject: [PATCH] fix: Show positive message when no missing dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- tools/cli/bundlers/web-bundler.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/cli/bundlers/web-bundler.js b/tools/cli/bundlers/web-bundler.js index 71452dfd..e1a565d3 100644 --- a/tools/cli/bundlers/web-bundler.js +++ b/tools/cli/bundlers/web-bundler.js @@ -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