about summary refs log tree commit diff
path: root/third_party/nix/src/nix/doctor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix/doctor.cc')
-rw-r--r--third_party/nix/src/nix/doctor.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/third_party/nix/src/nix/doctor.cc b/third_party/nix/src/nix/doctor.cc
index e4138f28d8..cf59aabdbd 100644
--- a/third_party/nix/src/nix/doctor.cc
+++ b/third_party/nix/src/nix/doctor.cc
@@ -52,7 +52,9 @@ struct CmdDoctor : StoreCommand {
       std::cout << "Warning: multiple versions of nix found in PATH."
                 << std::endl;
       std::cout << std::endl;
-      for (auto& dir : dirs) std::cout << "  " << dir << std::endl;
+      for (auto& dir : dirs) {
+        std::cout << "  " << dir << std::endl;
+      }
       std::cout << std::endl;
       return false;
     }
@@ -90,7 +92,9 @@ struct CmdDoctor : StoreCommand {
       std::cout << "garbage collected, resulting in broken symlinks."
                 << std::endl;
       std::cout << std::endl;
-      for (auto& dir : dirs) std::cout << "  " << dir << std::endl;
+      for (auto& dir : dirs) {
+        std::cout << "  " << dir << std::endl;
+      }
       std::cout << std::endl;
       return false;
     }