refactor: ast.Call should be in main task package (#2084)

This commit is contained in:
Pete Davison
2025-02-23 18:30:42 +00:00
committed by GitHub
parent cdaf69e03d
commit 60c8ee0ce6
18 changed files with 235 additions and 240 deletions

View File

@@ -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})