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

Method setupOutput

setup.go:197–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195}
196
197func (e *Executor) setupOutput() error {
198 if !e.OutputStyle.IsSet() {
199 e.OutputStyle = e.Taskfile.Output
200 }
201
202 var err error
203 e.Output, err = output.BuildFor(&e.OutputStyle, e.Logger)
204 return err
205}
206
207func (e *Executor) setupCompiler() error {
208 if e.UserWorkingDir == "" {

Callers 1

SetupMethod · 0.95

Calls 2

BuildForFunction · 0.92
IsSetMethod · 0.45

Tested by

no test coverage detected