mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 09:53:01 +08:00
Use Strings::EMPTY instead of ""
This commit is contained in:
parent
4a6b43c15a
commit
d02d44b0f1
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user