aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_install.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-01-27 13:01:22 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-01-27 13:01:22 -0800
commit5d2f44859248f1ef32d4c79b6b22eec95b18db1a (patch)
treea079e4500b0932cea8da63d3a6fe350393d3589c /toolsrc/src/commands_install.cpp
parent8342a7a7bd5c4d14f38f8bb34e2130a7e3094415 (diff)
downloadvcpkg-5d2f44859248f1ef32d4c79b6b22eec95b18db1a.tar.gz
vcpkg-5d2f44859248f1ef32d4c79b6b22eec95b18db1a.zip
Use Strings::join()
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
-rw-r--r--toolsrc/src/commands_install.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp
index 6fc0e32f0..a8ddf35f4 100644
--- a/toolsrc/src/commands_install.cpp
+++ b/toolsrc/src/commands_install.cpp
@@ -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);
}