mirror of
https://github.com/go-task/task.git
synced 2025-12-16 03:37:48 +01:00
feat: invert call.Direct (#1459)
This commit is contained in:
@@ -304,7 +304,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", Direct: true})
|
||||
calls = append(calls, ast.Call{Task: "default"})
|
||||
}
|
||||
|
||||
globals.Set("CLI_ARGS", ast.Var{Value: cliArgs})
|
||||
|
||||
Reference in New Issue
Block a user