We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f047a5 commit 769d7ecCopy full SHA for 769d7ec
command.go
@@ -113,7 +113,7 @@ func WithCustomBaseCommand(baseCommand *exec.Cmd) func(c *Command) {
113
//
114
func WithStandardStreams(c *Command) {
115
c.StdoutWriter = io.MultiWriter(os.Stdout, &c.stdout, &c.combined)
116
- c.StderrWriter = io.MultiWriter(os.Stderr, &c.stdout, &c.combined)
+ c.StderrWriter = io.MultiWriter(os.Stderr, &c.stderr, &c.combined)
117
}
118
119
// WithCustomStdout allows to add custom writers to stdout
0 commit comments