Use Strings::join()

This commit is contained in:
Alexander Karatarakis 2017-01-27 13:01:22 -08:00
parent 8342a7a7bd
commit 5d2f448592
1 changed files with 1 additions and 6 deletions

View File

@ -153,12 +153,7 @@ namespace vcpkg::Commands::Install
System::println(System::color::error, "The following files are already installed in %s and are in conflict with %s",
triplet_install_path.generic_string(),
binary_paragraph.spec);
System::println("");
for (const std::string& s : intersection)
{
System::println(" %s", s);
}
System::println("");
Strings::join(intersection, "\n ");
exit(EXIT_FAILURE);
}