Chromium Code Reviews| Index: utils/pub/io.dart |
| diff --git a/utils/pub/io.dart b/utils/pub/io.dart |
| index 13516223b2d9551cd47c13ab2b20de63378fb6c5..fd12d01c71fca09a25de59030bdb7a5f5cbb8890 100644 |
| --- a/utils/pub/io.dart |
| +++ b/utils/pub/io.dart |
| @@ -284,11 +284,13 @@ String relativeToPub(String target) { |
| /// A sink that writes to standard output. Errors piped to this stream will be |
| /// surfaced to the top-level error handler. |
| -final EventSink<List<int>> stdoutSink = stdout; |
| +// TODO: Unrequired wrapper, stdout is not an EventSink<List<int>>. |
|
Søren Gjesse
2013/04/15 11:14:41
not -> now
Anders Johnsen
2013/04/15 11:20:43
Done.
|
| +final EventSink<List<int>> stdoutSink = _wrapStdio(stdout, "stdout"); |
| /// A sink that writes to standard error. Errors piped to this stream will be |
| /// surfaced to the top-level error handler. |
| -final EventSink<List<int>> stderrSink = stderr; |
| +// TODO: Unrequired wrapper, stdout is not an EventSink<List<int>>. |
|
Søren Gjesse
2013/04/15 11:14:41
not -> now
Anders Johnsen
2013/04/15 11:20:43
Done.
|
| +final EventSink<List<int>> stderrSink = _wrapStdio(stderr, "stderr"); |
| /// Wrap the standard output or error [stream] in a [EventSink]. Any errors are |
| /// logged, and then the program is terminated. [name] is used for debugging. |