cdk-real-drift 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -609,8 +609,9 @@ const VALIDATION_REPORT = "CDK_TOOLKIT_E9600";
609
609
  * Decide what QuietIoHost does with a message (pure, so it is unit-testable):
610
610
  * - the CDK app's own stdout/stderr passthrough -> emit at INFO (default color, like
611
611
  * cdk-local; never the alarming red the E1002/error tag would otherwise produce);
612
- * - the construct-annotation validation report -> emit at INFO so its own per-severity
613
- * coloring shows through instead of the ERROR-level red wrap (see file header);
612
+ * - the construct-annotation validation report -> emit at WARN so the whole block is
613
+ * yellow (matching its WARNING label) instead of the misleading ERROR-level red
614
+ * wrap; per-severity labels still survive (see file header);
614
615
  * - a real toolkit warning / error -> emit unchanged (still yellow / red);
615
616
  * - everything else (toolkit info/debug/trace chatter) -> drop.
616
617
  */
@@ -621,7 +622,7 @@ function planIoMessage(msg) {
621
622
  };
622
623
  if (msg.code === VALIDATION_REPORT) return {
623
624
  action: "emit",
624
- level: "info"
625
+ level: "warn"
625
626
  };
626
627
  if (msg.level === "warn" || msg.level === "error") return {
627
628
  action: "emit",