mirror of
https://github.com/go-task/task.git
synced 2026-06-11 09:51:50 +00:00
feat: better functional options (#2147)
This commit is contained in:
@@ -114,8 +114,8 @@ func run() error {
|
||||
}
|
||||
|
||||
e := task.NewExecutor(
|
||||
flags.WithExecutorOptions(),
|
||||
task.ExecutorWithVersionCheck(true),
|
||||
flags.WithFlags(),
|
||||
task.WithVersionCheck(true),
|
||||
)
|
||||
if err := e.Setup(); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user