1
0
mirror of https://github.com/go-task/task.git synced 2025-01-14 04:35:50 +02:00

refacotring

This commit is contained in:
jaedle 2019-02-24 09:25:39 +01:00
parent 07221a1b20
commit 4b7f058f41

View File

@ -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
}