Index: runtime/bin/process_patch.dart |
diff --git a/runtime/bin/process_patch.dart b/runtime/bin/process_patch.dart |
index 21d09b6e33b5e5c44368e8ecf1497c6df14b5262..281259b67233ce904ddcad1baf151d7e1d07f848 100644 |
--- a/runtime/bin/process_patch.dart |
+++ b/runtime/bin/process_patch.dart |
@@ -300,7 +300,7 @@ Future<ProcessResult> _runNonInteractiveProcess(String path, |
// Setup stdout handling. |
Future<StringBuffer> stdout = p.stdout |
.transform(new StringDecoder(stdoutEncoding)) |
- .reduce( |
+ .fold( |
new StringBuffer(), |
(buf, data) { |
buf.write(data); |
@@ -309,7 +309,7 @@ Future<ProcessResult> _runNonInteractiveProcess(String path, |
Future<StringBuffer> stderr = p.stderr |
.transform(new StringDecoder(stderrEncoding)) |
- .reduce( |
+ .fold( |
new StringBuffer(), |
(buf, data) { |
buf.write(data); |