Skip to content

Commit

Permalink
Remove duplicated message when no upgrades (#1986)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs authored Mar 3, 2022
1 parent 79c8c11 commit 0a6cb30
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/AppInstallerCLICore/Workflows/UpdateFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0a6cb30

Please sign in to comment.