Skip to content

Commit

Permalink
[golden_runner] Await on addStream (Resolves #1479) (#1482)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelosilvestre authored and matthew-carroll committed Oct 4, 2023
1 parent beb645e commit 49ba1fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions golden_runner/lib/src/commands.dart
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ Future<void> _runProcess({
workingDirectory: workingDirectory,
);

stdout.addStream(process.stdout);
stderr.addStream(process.stderr);
await stdout.addStream(process.stdout);
await stderr.addStream(process.stderr);

final exitCode = await process.exitCode;

Expand Down

0 comments on commit 49ba1fb

Please sign in to comment.