1
0
mirror of https://github.com/go-task/task.git synced 2025-06-25 00:47:04 +02:00

Adds --carry flag to enable carrying error codes from task cmds

This commit is contained in:
Bruno Delor
2022-06-02 14:22:00 +02:00
parent 5836cb1728
commit a790fb7afe
4 changed files with 22 additions and 5 deletions

View File

@ -363,7 +363,7 @@ func (e *Executor) RunTask(ctx context.Context, call taskfile.Call) error {
continue
}
return &taskRunError{t.Task, err}
return &TaskRunError{t.Task, err}
}
}
e.Logger.VerboseErrf(logger.Magenta, `task: "%s" finished`, call.Task)