Skip to content

Commit

Permalink
fix: deprecation warn
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jun 8, 2023
1 parent ada2fb5 commit 125dda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (p *Program) exec(c ExecCommand, fn ExecCallback) {
}

c.SetStdin(p.input)
c.SetStdout(p.output.TTY())
c.SetStdout(p.output.Writer())
c.SetStderr(os.Stderr)

// Execute system command.
Expand Down

0 comments on commit 125dda1

Please sign in to comment.