diff options
Diffstat (limited to 'third_party/nix/src/nix/doctor.cc')
-rw-r--r-- | third_party/nix/src/nix/doctor.cc | 8 |
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 e4138f28d88c..cf59aabdbda6 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; } |