[vcpkg] Fix incorrect handling of messages for permenantly disabled metrics.
Fixes
MODIFY
src/vcpkg.cpp
src/vcpkg.cpp
@@ -256,7 +256,7 @@ int main(const int argc, const char* const* const argv)
metrics->set_send_metrics(*p);
}
- if (args.send_metrics.value_or(true) && !metrics->metrics_enabled())
+ if (args.send_metrics.value_or(false) && !metrics->metrics_enabled())
{
System::print2(System::Color::warning, "Warning: passed --sendmetrics, but metrics are disabled.\n");
}

[vcpkg] Fix incorrect handling of messages for permenantly disabled metrics. (#15636)

Fixes #15630