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:
@@ -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) {
|
||||||
|
|||||||
2
task.go
2
task.go
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user