Skip to content

Revert "console: colorize console error and warn"

Fixes #53661

This PR reverts #51629.

Why was this change made?

IMO The original PR introduces more issues than it resolves, negatively impacting the intended use of standard streams in several ways, such as:

Misuse of Standard Streams: The primary purpose of stdout is to handle program output, whereas stderr is designated for diagnostics, status updates, and runtime user messages. Showing this output red may confuse users, as this content isn't always an error. (For example, run ncu-ci with no args...)

Inconsistency in Color Handling: If the input passed to console.error or console.warn already includes color formatting, the additional internal coloring introduced by the original PR can result in a clash of styles.


CC @MrJithil

Merge request reports

Loading