Unverified Commit fb9ff929 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

fix linesplitter (#36006)

parent 8d81c30a
......@@ -108,6 +108,7 @@ Future<void> runCommand(String executable, List<String> arguments, {
.transform<String>(const Utf8Decoder())
.transform(const LineSplitter())
.where((String line) => removeLine == null || !removeLine(line))
.map((String line) => '$line\n')
.transform(const Utf8Encoder());
if (printOutput) {
await Future.wait<void>(<Future<void>>[
......
......@@ -554,6 +554,7 @@ Future<void> _buildRunnerTest(
args,
workingDirectory:workingDirectory,
environment:pubEnvironment,
removeLine: (String line) => line.contains('[INFO]')
);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment