mirror of
https://github.com/go-task/task.git
synced 2025-12-16 11:47:44 +01:00
refactor: ast.Call should be in main task package (#2084)
This commit is contained in:
@@ -201,7 +201,7 @@ func run() error {
|
||||
}
|
||||
|
||||
var (
|
||||
calls []*ast.Call
|
||||
calls []*task.Call
|
||||
globals *ast.Vars
|
||||
)
|
||||
|
||||
@@ -214,7 +214,7 @@ func run() error {
|
||||
|
||||
// If there are no calls, run the default task instead
|
||||
if len(calls) == 0 {
|
||||
calls = append(calls, &ast.Call{Task: "default"})
|
||||
calls = append(calls, &task.Call{Task: "default"})
|
||||
}
|
||||
|
||||
globals.Set("CLI_ARGS", ast.Var{Value: cliArgs})
|
||||
|
||||
Reference in New Issue
Block a user