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

Method statusOnError

status.go:44–54  ·  view source on GitHub ↗
(t *ast.Task)

Source from the content-addressed store, hash-verified

42}
43
44func (e *Executor) statusOnError(t *ast.Task) error {
45 method := t.Method
46 if method == "" {
47 method = e.Taskfile.Method
48 }
49 checker, err := fingerprint.NewSourcesChecker(method, e.TempDir.Fingerprint, e.Dry)
50 if err != nil {
51 return err
52 }
53 return checker.OnError(t)
54}

Callers 1

RunTaskMethod · 0.95

Calls 2

NewSourcesCheckerFunction · 0.92
OnErrorMethod · 0.65

Tested by

no test coverage detected