aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_remove.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-14 15:32:14 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-17 12:03:06 -0700
commita715caf5fd89e182458408db07262746e53591d3 (patch)
tree62c5c694b9c968f6f2b11a9932f14ce9076b2d64 /toolsrc/src/commands_remove.cpp
parente1f5fe728d702c12c466cc4ff65f3d628d07ea19 (diff)
downloadvcpkg-a715caf5fd89e182458408db07262746e53591d3.tar.gz
vcpkg-a715caf5fd89e182458408db07262746e53591d3.zip
Formatting
Diffstat (limited to 'toolsrc/src/commands_remove.cpp')
-rw-r--r--toolsrc/src/commands_remove.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp
index a54eda45e..3a0bed30f 100644
--- a/toolsrc/src/commands_remove.cpp
+++ b/toolsrc/src/commands_remove.cpp
@@ -119,20 +119,20 @@ namespace vcpkg::Commands::Remove
std::vector<const RemovePlanAction*> cont = it->second;
std::sort(cont.begin(), cont.end(), &RemovePlanAction::compare_by_name);
const std::string as_string = Strings::join("\n", cont, [](const RemovePlanAction* p)
- {
- return Dependencies::to_output_string(p->request_type, p->spec.to_string());
- });
+ {
+ return Dependencies::to_output_string(p->request_type, p->spec.to_string());
+ });
switch (plan_type)
{
- case RemovePlanType::NOT_INSTALLED:
- System::println("The following packages are not installed, so not removed:\n%s", as_string);
- continue;
- case RemovePlanType::REMOVE:
- System::println("The following packages will be removed:\n%s", as_string);
- continue;
- default:
- Checks::unreachable(VCPKG_LINE_INFO);
+ case RemovePlanType::NOT_INSTALLED:
+ System::println("The following packages are not installed, so not removed:\n%s", as_string);
+ continue;
+ case RemovePlanType::REMOVE:
+ System::println("The following packages will be removed:\n%s", as_string);
+ continue;
+ default:
+ Checks::unreachable(VCPKG_LINE_INFO);
}
}
}
@@ -179,9 +179,9 @@ namespace vcpkg::Commands::Remove
print_plan(remove_plan);
const bool has_non_user_requested_packages = Util::find_if(remove_plan, [](const RemovePlanAction& package)-> bool
- {
- return package.request_type != RequestType::USER_REQUESTED;
- }) != remove_plan.cend();
+ {
+ return package.request_type != RequestType::USER_REQUESTED;
+ }) != remove_plan.cend();
if (has_non_user_requested_packages)
{