microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.53k stars 1.39k forks source link

Truncated message warning should be yellow not red. #4495

Open acangialosi opened 1 month ago

acangialosi commented 1 month ago

Brief description of your issue

image

The message in the screenshot doesn't seem to be an error but it appears red. This makes it look like Winget is failing went it seems to be a by design notification of Winget. This message should not be red. It should informational white text or at best yello.

Steps to reproduce

Run winget configure long-ish.dsc.yaml

Expected behavior

White text informational

Actual behavior

image

Environment

Latest version
Trenly commented 2 days ago

I was looking at this, and it appears that it was intentionally set to be red - https://github.com/microsoft/winget-cli/blob/015f0e9d9d6fd8d0d40e51dce264cd7744886c7b/src/AppInstallerCLICore/Workflows/ConfigurationFlow.cpp#L1374-L1378