MCPcopy Index your code
hub / github.com/go-task/task / setupStdFiles

Method setupStdFiles

setup.go:173–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171}
172
173func (e *Executor) setupStdFiles() {
174 if e.Stdin == nil {
175 e.Stdin = os.Stdin
176 }
177 if e.Stdout == nil {
178 e.Stdout = os.Stdout
179 }
180 if e.Stderr == nil {
181 e.Stderr = os.Stderr
182 }
183}
184
185func (e *Executor) setupLogger() {
186 e.Logger = &logger.Logger{

Callers 1

SetupMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected