fix(cli): honor NO_COLOR in Rust output - #2716
Conversation
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Vite+ currently colors Rust diagnostics and status messages unconditionally.
vp checkalso forces colors in captured lint output whenever stdout is a terminal, even whenNO_COLORis set.This PR switches Rust CLI styling to
console, reusing the color detection already used by the installer and Rust prompts. Diagnostic styling checks stderr. Captured lint output follows the parent's color support and preserves an explicitFORCE_COLORvalue.🤖 Generated with Codex