microsoft / microsoft/winget-cli

Truncated message warning should be yellow not red.

Open
#4,495 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Output Issue-Feature
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the warning with winget configure long-ish.dsc.yaml and trace the code that formats the truncated-message notification. Confirm the current red output and change it to the requested informational or yellow presentation, then rerun the command to verify the warning is no longer shown as an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.