Skip to content

Commit

Permalink
Merge stderr before stdout (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpalmer authored Dec 25, 2021
1 parent ba4a966 commit e5b6baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/internal/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ func (c *RunCommand) Run(args []string) int {
writer := bufio.NewWriter(output)

// Merge the streams together
merged := io.MultiReader(stdout, stderr)
merged := io.MultiReader(stderr, stdout)

// Create a scanner which scans r in a line-by-line fashion
scanner := bufio.NewScanner(merged)
Expand Down

1 comment on commit e5b6baa

@vercel
Copy link

@vercel vercel bot commented on e5b6baa Dec 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.