Skip to content

Commit fc89aee

Browse files
committed
Include stderr in build output
1 parent dd6fee8 commit fc89aee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

coinlib/bin/util.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ Future<int> execWithStdio(
2929
await process.stdin.close();
3030
}
3131

32-
// Pipe stdout to terminal and discard stderr
32+
// Pipe stdout and stderr to terminal
3333
await Future.wait([
34-
process.stdout.transform(utf8.decoder).forEach(stdout.write),
35-
process.stderr.drain<String?>(),
34+
for (final stream in [process.stdout, process.stderr])
35+
stream.transform(utf8.decoder).forEach(stdout.write),
3636
]);
3737

3838
return await process.exitCode;

0 commit comments

Comments
 (0)