Fix find_installed()
MODIFY
src/StatusParagraphs.cpp
src/StatusParagraphs.cpp
@@ -32,7 +32,7 @@ namespace vcpkg
StatusParagraphs::const_iterator StatusParagraphs::find_installed(const std::string& name, const Triplet& target_triplet) const
{
const const_iterator it = find(name, target_triplet);
- if (it != end() && (*it)->want == Want::INSTALL)
+ if (it != end() && (*it)->want == Want::INSTALL && (*it)->state == InstallState::INSTALLED)
{
return it;
}

Fix find_installed()