diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-03-12 14:21:03 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-03-12 15:17:02 +0100 |
commit | 0aed8b20be80238ee16839d2926eb10e63521610 (patch) | |
tree | eef31dda41a581d0fb9adf5b4e67e04618f01520 /src | |
parent | f5f9be5bc07b16807aceac86fba9212e3889762a (diff) | |
download | justbuild-0aed8b20be80238ee16839d2926eb10e63521610.tar.gz |
Exports-progress reporter: do not encode sample
... as it is already encoded to be meaningfully printable.
Diffstat (limited to 'src')
-rw-r--r-- | src/buildtool/progress_reporting/exports_progress_reporter.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/buildtool/progress_reporting/exports_progress_reporter.cpp b/src/buildtool/progress_reporting/exports_progress_reporter.cpp index 7c3bb659..fa8ab6c4 100644 --- a/src/buildtool/progress_reporting/exports_progress_reporter.cpp +++ b/src/buildtool/progress_reporting/exports_progress_reporter.cpp @@ -45,10 +45,8 @@ auto ExportsProgressReporter::Reporter(gsl::not_null<Statistics*> const& stats, uncached + not_eligible); if ((active > 0) && !sample.empty()) { - msg = fmt::format("{} ({}{})", - msg, - nlohmann::json(sample).dump(), - active > 1 ? ", ..." : ""); + msg = fmt::format( + "{} ({}{})", msg, sample, active > 1 ? ", ..." : ""); } Logger::Log(LogLevel::Progress, "{}", msg); }); |