From 0a6cb30ecfa15f9fe81b50496f5b1f13f0644af1 Mon Sep 17 00:00:00 2001 From: Felipe Santos Date: Thu, 3 Mar 2022 04:24:15 -0300 Subject: [PATCH] Remove duplicated message when no upgrades (#1986) --- src/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 index b1eadd563e..0ebded708f 100644 --- 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(std::move(packagesToInstall)); context.Reporter.Info() << std::endl;