1
0
mirror of https://github.com/go-task/task.git synced 2025-11-23 22:24:45 +02:00

chore: run gofumpt

This commit is contained in:
Andrey Nering
2025-11-22 18:09:20 -03:00
parent c7b4f26900
commit 7901cce831
2 changed files with 2 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ func execHandlers() (handlers []func(next interp.ExecHandlerFunc) interp.ExecHan
if useGoCoreUtils { if useGoCoreUtils {
handlers = append(handlers, coreutils.ExecHandler) handlers = append(handlers, coreutils.ExecHandler)
} }
return return handlers
} }
func openHandler(ctx context.Context, path string, flag int, perm os.FileMode) (io.ReadWriteCloser, error) { func openHandler(ctx context.Context, path string, flag int, perm os.FileMode) (io.ReadWriteCloser, error) {

View File

@@ -112,7 +112,7 @@ func (e *Executor) splitRegularAndWatchCalls(calls ...*Call) (regularCalls []*Ca
regularCalls = append(regularCalls, c) regularCalls = append(regularCalls, c)
} }
} }
return return regularCalls, watchCalls, err
} }
// RunTask runs a task by its name // RunTask runs a task by its name