mirror of
https://github.com/go-task/task.git
synced 2026-06-11 09:51:50 +00:00
Add Taskfile struct and start implementing new format
Updates #54, #66 and #77
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
// Status returns an error if any the of given tasks is not up-to-date
|
||||
func (e *Executor) Status(calls ...Call) error {
|
||||
for _, call := range calls {
|
||||
t, ok := e.Tasks[call.Task]
|
||||
t, ok := e.Taskfile.Tasks[call.Task]
|
||||
if !ok {
|
||||
return &taskNotFoundError{taskName: call.Task}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user