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 b7d83e7 commit f4099f3Copy full SHA for f4099f3
command.go
@@ -87,8 +87,6 @@ func WithCustomStdout(writers ...io.Writer) func(c *Command) {
87
return func(c *Command) {
88
writers = append(writers, &c.stdout, &c.combined)
89
c.StdoutWriter = NewMultiplexedWriter(writers...)
90
-
91
- c.StderrWriter = NewMultiplexedWriter(&c.stderr, &c.combined)
92
}
93
94
@@ -97,8 +95,6 @@ func WithCustomStderr(writers ...io.Writer) func(c *Command) {
97
95
98
96
writers = append(writers, &c.stderr, &c.combined)
99
c.StderrWriter = NewMultiplexedWriter(writers...)
100
101
- c.StdoutWriter = NewMultiplexedWriter(&c.stdout, &c.combined)
102
103
104
0 commit comments