mirror of
https://github.com/go-task/task.git
synced 2025-01-14 04:35:50 +02:00
refacotring
This commit is contained in:
parent
07221a1b20
commit
4b7f058f41
5
task.go
5
task.go
@ -68,10 +68,9 @@ func (e *Executor) Run(ctx context.Context, calls ...taskfile.Call) error {
|
||||
|
||||
if e.Taskfile.Tasks[task].Details == "" {
|
||||
e.Logger.Errf("task: There is no detailed description for task: %s", task)
|
||||
return nil
|
||||
} else {
|
||||
e.Logger.Outf(e.Taskfile.Tasks[task].Details)
|
||||
}
|
||||
|
||||
e.Logger.Outf(e.Taskfile.Tasks[task].Details)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user