mirror of
https://github.com/go-task/task.git
synced 2025-01-12 04:34:11 +02:00
e36c77aaf3
Took the oportunity to refactor a bit how we handle closing of the streams. Fixes #779
12 lines
230 B
Go
12 lines
230 B
Go
package output
|
|
|
|
import (
|
|
"io"
|
|
)
|
|
|
|
type Interleaved struct{}
|
|
|
|
func (Interleaved) WrapWriter(stdOut, stdErr io.Writer, _ string, _ Templater) (io.Writer, io.Writer, CloseFunc) {
|
|
return stdOut, stdErr, func() error { return nil }
|
|
}
|