mirror of
https://github.com/go-task/task.git
synced 2026-06-26 06:06:07 +00:00
refacotring
This commit is contained in:
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user