mirror of
https://github.com/go-task/task.git
synced 2025-01-06 03:53:54 +02:00
90613220c6
This seems to fix some of the bugs reported by issues like #114 and #190. Seems that the standard library's os/exec package has some black magic to detect if a writer is an actual *os.File, and some stuff are handled differently, then. Fixes #114 Fixes #190
10 lines
110 B
Go
10 lines
110 B
Go
package output
|
|
|
|
import (
|
|
"io"
|
|
)
|
|
|
|
type Output interface {
|
|
WrapWriter(w io.Writer, prefix string) io.Writer
|
|
}
|