diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-03-23 11:31:04 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-03-23 19:30:21 +0100 |
commit | 45cba2778426601bdffbcfe6aa7310aee76a6e54 (patch) | |
tree | e67b6b73bc7d4d9940fee3d1d324e4513c5dcbbe /src/buildtool/execution_engine/executor/executor.hpp | |
parent | 4f6f3fcfaf4f2d99cf9c8f73fe93fd7bfa54c92a (diff) | |
download | justbuild-45cba2778426601bdffbcfe6aa7310aee76a6e54.tar.gz |
Apply changes suggested by clang-format 11
Diffstat (limited to 'src/buildtool/execution_engine/executor/executor.hpp')
-rw-r--r-- | src/buildtool/execution_engine/executor/executor.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp index d21346a0..d46c290b 100644 --- a/src/buildtool/execution_engine/executor/executor.hpp +++ b/src/buildtool/execution_engine/executor/executor.hpp @@ -325,10 +325,10 @@ class ExecutorImpl { if (has_err or has_out) { logger.Emit(LogLevel::Info, [&] { using namespace std::string_literals; - auto message = - (has_err and has_out ? "Stdout and stderr"s - : has_out ? "Stdout"s : "Stderr"s) + - " of command: "; + auto message = (has_err and has_out ? "Stdout and stderr"s + : has_out ? "Stdout"s + : "Stderr"s) + + " of command: "; message += nlohmann::json(command).dump(); if (response->HasStdOut()) { message += "\n" + response->StdOut(); |