mirror of
https://github.com/go-task/task.git
synced 2026-06-11 09:51:50 +00:00
feat: remove v2 support (#1447)
* feat: remove v2 support * docs: update v2 schema docs
This commit is contained in:
@@ -300,11 +300,7 @@ func run() error {
|
||||
return err
|
||||
}
|
||||
|
||||
if e.Taskfile.Version.Compare(taskfile.V3) >= 0 {
|
||||
calls, globals = args.ParseV3(tasksAndVars...)
|
||||
} else {
|
||||
calls, globals = args.ParseV2(tasksAndVars...)
|
||||
}
|
||||
calls, globals = args.Parse(tasksAndVars...)
|
||||
|
||||
// If there are no calls, run the default task instead
|
||||
if len(calls) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user