mirror of
https://github.com/go-task/task.git
synced 2025-11-23 22:24:45 +02:00
feat: remove v2 support (#1447)
* feat: remove v2 support * docs: update v2 schema docs
This commit is contained in:
5
task.go
5
task.go
@@ -64,13 +64,12 @@ type Executor struct {
|
||||
Stderr io.Writer
|
||||
|
||||
Logger *logger.Logger
|
||||
Compiler compiler.Compiler
|
||||
Compiler *compiler.Compiler
|
||||
Output output.Output
|
||||
OutputStyle taskfile.Output
|
||||
TaskSorter sort.TaskSorter
|
||||
UserWorkingDir string
|
||||
|
||||
taskvars *taskfile.Vars
|
||||
fuzzyModel *fuzzy.Model
|
||||
|
||||
concurrencySemaphore chan struct{}
|
||||
@@ -349,7 +348,7 @@ func (e *Executor) runCommand(ctx context.Context, t *taskfile.Task, call taskfi
|
||||
outputWrapper = output.Interleaved{}
|
||||
}
|
||||
vars, err := e.Compiler.FastGetVariables(t, call)
|
||||
outputTemplater := &templater.Templater{Vars: vars, RemoveNoValue: true}
|
||||
outputTemplater := &templater.Templater{Vars: vars}
|
||||
if err != nil {
|
||||
return fmt.Errorf("task: failed to get variables: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user