1
0
mirror of https://github.com/go-task/task.git synced 2025-11-27 22:38:20 +02:00

chore: run modernize

This commit is contained in:
Andrey Nering
2025-11-22 17:30:30 -03:00
parent 3ed403b839
commit c7b4f26900
3 changed files with 2 additions and 6 deletions

View File

@@ -36,7 +36,6 @@ func (e *Executor) watchTasks(calls ...*Call) error {
ctx, cancel := context.WithCancel(context.Background())
for _, c := range calls {
c := c
go func() {
err := e.RunTask(ctx, c)
if err == nil {
@@ -85,7 +84,6 @@ func (e *Executor) watchTasks(calls ...*Call) error {
e.Compiler.ResetCache()
for _, c := range calls {
c := c
go func() {
if ShouldIgnore(event.Name) {
e.Logger.VerboseErrf(logger.Magenta, "task: event skipped for being an ignored dir: %s\n", event.Name)