Skip to content

Commit

Permalink
Allow all packages to check for a version (#4227)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMcPMS authored Mar 4, 2024
1 parent b494b6f commit 0d7e0f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/AppInstallerRepositoryCore/CompositeSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,11 @@ namespace AppInstaller::Repository
}
}

return availablePackage->GetAvailableVersion(versionKey);
auto result = availablePackage->GetAvailableVersion(versionKey);
if (result)
{
return result;
}
}

return {};
Expand Down

0 comments on commit 0d7e0f4

Please sign in to comment.