winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 0a6cb30ecfa15f9fe81b50496f5b1f13f0644af1
parent 79c8c11bd2145d91b3472c0b30f7ec3441693ce2
Author: Felipe Santos <felipecassiors@gmail.com>
Date:   Thu,  3 Mar 2022 04:24:15 -0300

Remove duplicated message when no upgrades (#1986)


Diffstat:
Msrc/AppInstallerCLICore/Workflows/UpdateFlow.cpp | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/AppInstallerCLICore/Workflows/UpdateFlow.cpp b/src/AppInstallerCLICore/Workflows/UpdateFlow.cpp @@ -181,11 +181,7 @@ namespace AppInstaller::CLI::Workflow AddToPackagesToInstallIfNotPresent(packagesToInstall, std::move(updateContextPtr)); } - if (!updateAllFoundUpdate) - { - context.Reporter.Info() << Resource::String::UpdateNotApplicable << std::endl; - } - else + if (updateAllFoundUpdate) { context.Add<Execution::Data::PackagesToInstall>(std::move(packagesToInstall)); context.Reporter.Info() << std::endl;