Skip to content

Remove duplicated message about unknown versions - #1982

Merged
yao-msft merged 1 commit into
microsoft:masterfrom
felipecrs:remove-duplicated-message
Feb 28, 2022
Merged

yao-msft merged 1 commit into
microsoft:masterfrom
felipecrs:remove-duplicated-message

Conversation

@felipecrs

@felipecrs Felipe Santos (felipecrs) commented Feb 28, 2022 •

Copy link
Copy Markdown
Contributor

It turns out that this message is displayed twice, without a reason. Example:

$ winget upgrade --all
Name  Id             Version Available Source
---------------------------------------------
gsudo gerardog.gsudo 1.0.2.0 1.1.0     winget
1 upgrades available.
10 packages have version numbers that cannot be determined. Use "--include-unknown" to see all results.

(1/1) Found gsudo [gerardog.gsudo] Version 1.1.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/gerardog/gsudo/releases/download/v1.1.0/gsudoSetup.msi
  ██████████████████████████████   364 KB /  364 KB
Successfully verified installer hash
Starting package install...
Successfully installed

10 packages have version numbers that cannot be determined. Use "--include-unknown" to see all results.

$ winget upgrade --all
No installed package found matching input criteria.
10 packages have version numbers that cannot be determined. Use "--include-unknown" to see all results.
No applicable update found.
10 packages have version numbers that cannot be determined. Use "--include-unknown" to see all results.

This PR removes the latter duplicated message.

Microsoft Reviewers: Open in CodeFlow

@felipecrs
Felipe Santos (felipecrs) requested a review from a team as a code owner February 28, 2022 15:08
@yao-msft

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@yao-msft

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@yao-msft
yao-msft merged commit 16de635 into microsoft:master Feb 28, 2022
@felipecrs
Felipe Santos (felipecrs) deleted the remove-duplicated-message branch March 1, 2022 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants