Merge pull request #4077 from Ma27/left-whitespace-log

libmain/progress-bar: don't trim whitespace on the left
This commit is contained in:
Eelco Dolstra 2020-09-28 10:40:00 +02:00 committed by GitHub
commit 5df687c316
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -256,7 +256,7 @@ public:
}
else if (type == resBuildLogLine || type == resPostBuildLogLine) {
auto lastLine = trim(getS(fields, 0));
auto lastLine = chomp(getS(fields, 0));
if (!lastLine.empty()) {
auto i = state->its.find(act);
assert(i != state->its.end());