diff --git a/internal/execext/exec.go b/internal/execext/exec.go index bfbb779f..c93d0c42 100644 --- a/internal/execext/exec.go +++ b/internal/execext/exec.go @@ -147,7 +147,7 @@ func execHandlers() (handlers []func(next interp.ExecHandlerFunc) interp.ExecHan if useGoCoreUtils { handlers = append(handlers, coreutils.ExecHandler) } - return + return handlers } func openHandler(ctx context.Context, path string, flag int, perm os.FileMode) (io.ReadWriteCloser, error) { diff --git a/task.go b/task.go index f339fbc3..79bc36ac 100644 --- a/task.go +++ b/task.go @@ -112,7 +112,7 @@ func (e *Executor) splitRegularAndWatchCalls(calls ...*Call) (regularCalls []*Ca regularCalls = append(regularCalls, c) } } - return + return regularCalls, watchCalls, err } // RunTask runs a task by its name