mirror of
https://github.com/go-task/task.git
synced 2024-12-04 10:24:45 +02:00
08a888dc8a
* refactor: replacer * feat: move traverser to deepcopy package * feat: nested map variable templating * refactor: ReplaceVar function * feat: test cases * fix: TraverseStringsFunc copy value instead of pointer
14 lines
292 B
Go
14 lines
292 B
Go
package output
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/go-task/task/v3/internal/templater"
|
|
)
|
|
|
|
type Interleaved struct{}
|
|
|
|
func (Interleaved) WrapWriter(stdOut, stdErr io.Writer, _ string, _ *templater.Cache) (io.Writer, io.Writer, CloseFunc) {
|
|
return stdOut, stdErr, func(error) error { return nil }
|
|
}
|