1
0
mirror of https://github.com/go-task/task.git synced 2025-06-23 00:38:19 +02:00

feat: add task name to json output (#2256)

This commit is contained in:
Aleksander Sh.
2025-05-20 22:37:57 +02:00
committed by GitHub
parent 89f29cb75b
commit bb5b045293
7 changed files with 76 additions and 4 deletions

View File

@ -149,6 +149,7 @@ func (e *Executor) ToEditorOutput(tasks []*ast.Task, noStatus bool) (*editors.Ta
g.Go(func() error {
o.Tasks[i] = editors.Task{
Name: tasks[i].Name(),
Task: tasks[i].Task,
Desc: tasks[i].Desc,
Summary: tasks[i].Summary,
Aliases: aliases,