Skip to content

Commit

Permalink
Correct Purpose for Install
Browse files Browse the repository at this point in the history
  • Loading branch information
Trenly committed Feb 6, 2023
1 parent 4602636 commit 6063bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppInstallerCLICore/Workflows/UpdateFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ namespace AppInstaller::CLI::Workflow
{
context <<
HandleSearchResultFailures <<
EnsureOneMatchFromSearchResult(m_isUpgrade ? SearchPurpose::Upgrade : SearchPurpose::Default) <<
EnsureOneMatchFromSearchResult(m_isUpgrade ? SearchPurpose::Upgrade : SearchPurpose::Install) <<
GetInstalledPackageVersion;

if (!m_isUpgrade && context.Contains(Execution::Data::InstalledPackageVersion) && context.Get<Execution::Data::InstalledPackageVersion>() != nullptr)
Expand Down

0 comments on commit 6063bec

Please sign in to comment.