Use Strings::EMPTY instead of ""
MODIFY
src/commands_build.cpp
src/commands_build.cpp
@@ -68,12 +68,12 @@ namespace vcpkg::Commands::BuildCommand
System::println(System::Color::error,
"The build command requires all dependencies to be already installed.");
System::println("The following dependencies are missing:");
- System::println("");
+ System::println(Strings::EMPTY);
for (const auto& p : result.unmet_dependencies)
{
System::println(" %s", p);
}
- System::println("");
+ System::println(Strings::EMPTY);
Checks::exit_fail(VCPKG_LINE_INFO);
}

MODIFY
src/commands_install.cpp
src/commands_install.cpp
@@ -199,7 +199,7 @@ namespace vcpkg::Commands::Install
bcf.core_paragraph.spec);
System::print("\n ");
System::println(Strings::join("\n ", intersection));
- System::println("");
+ System::println(Strings::EMPTY);
return InstallResult::FILE_CONFLICTS;
}

MODIFY
src/commands_version.cpp
src/commands_version.cpp
@@ -20,7 +20,7 @@ namespace vcpkg::Commands::Version
#ifndef NDEBUG
+ std::string("-debug")
#endif
- + std::string(Metrics::get_compiled_metrics_enabled() ? "" : "-external");
+ + std::string(Metrics::get_compiled_metrics_enabled() ? Strings::EMPTY : "-external");
return s_version;
}

Use Strings::EMPTY instead of ""