1
0
mirror of https://github.com/go-task/task.git synced 2025-03-25 21:39:05 +02:00

Apply suggestions from code review

Co-authored-by: Andrey Nering <andrey@nering.com.br>
This commit is contained in:
Jesús Espino 2021-10-31 09:37:23 +01:00 committed by GitHub
parent 8a09d044c7
commit 690000254c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -310,7 +310,7 @@ func (e *Executor) RunTask(ctx context.Context, call taskfile.Call) error {
defer release()
return e.startExecution(ctx, t, func(ctx context.Context) error {
e.Logger.VerboseErrf(logger.Magenta, `started task: '%s'`, call.Task)
e.Logger.VerboseErrf(logger.Magenta, `task: "%s" started`, call.Task)
if err := e.runDeps(ctx, t); err != nil {
return err
}
@ -352,7 +352,7 @@ func (e *Executor) RunTask(ctx context.Context, call taskfile.Call) error {
return &taskRunError{t.Task, err}
}
}
e.Logger.VerboseErrf(logger.Magenta, `finished task: '%s'`, call.Task)
e.Logger.VerboseErrf(logger.Magenta, `task: "%s" finished`, call.Task)
return nil
})
}