Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort committed Oct 5, 2021
1 parent 2a0ca58 commit 0cdd0d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vcpkg/dependencies.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ namespace vcpkg::Dependencies
Checks::check_maybe_upgrade(VCPKG_LINE_INFO,
maybe_paragraph.has_value(),
"Package %s does not have a %s feature",
spec.name(),
spec.port(),
spec.feature());

return maybe_paragraph.get()->supports_expression;
Expand Down Expand Up @@ -882,7 +882,7 @@ namespace vcpkg::Dependencies
m_var_provider.get_dep_info_vars(spec.spec()).value_or_exit(VCPKG_LINE_INFO)))
{
const auto msg = Strings::format("%s[%s] is only supported on '%s'",
spec.name(),
spec.port(),
spec.feature(),
to_string(*supports_expression.get()));
if (unsupported_port_action == UnsupportedPortAction::Error)
Expand Down

0 comments on commit 0cdd0d9

Please sign in to comment.