summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_engine/executor/executor.hpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-03-23 11:31:04 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2022-03-23 19:30:21 +0100
commit45cba2778426601bdffbcfe6aa7310aee76a6e54 (patch)
treee67b6b73bc7d4d9940fee3d1d324e4513c5dcbbe /src/buildtool/execution_engine/executor/executor.hpp
parent4f6f3fcfaf4f2d99cf9c8f73fe93fd7bfa54c92a (diff)
downloadjustbuild-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.hpp8
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();