mirror of
https://github.com/go-task/task.git
synced 2025-08-08 22:36:57 +02:00
fix: linting issues
This commit is contained in:
@@ -111,7 +111,7 @@ func (tfg *TaskfileGraph) Merge() (*Taskfile, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
rootVertex.Taskfile.Tasks.Range(func(name string, task *Task) error {
|
||||
_ = rootVertex.Taskfile.Tasks.Range(func(name string, task *Task) error {
|
||||
if task == nil {
|
||||
task = &Task{}
|
||||
rootVertex.Taskfile.Tasks.Set(name, task)
|
||||
|
@@ -49,7 +49,7 @@ func (vs *Vars) Merge(other *Vars, include *Include) {
|
||||
if vs == nil || other == nil {
|
||||
return
|
||||
}
|
||||
other.Range(func(key string, value Var) error {
|
||||
_ = other.Range(func(key string, value Var) error {
|
||||
if include != nil && include.AdvancedImport {
|
||||
value.Dir = include.Dir
|
||||
}
|
||||
|
@@ -96,7 +96,7 @@ func (r *Reader) include(node Node) error {
|
||||
var g errgroup.Group
|
||||
|
||||
// Loop over each included taskfile
|
||||
vertex.Taskfile.Includes.Range(func(namespace string, include ast.Include) error {
|
||||
_ = vertex.Taskfile.Includes.Range(func(namespace string, include ast.Include) error {
|
||||
// Start a goroutine to process each included Taskfile
|
||||
g.Go(func() error {
|
||||
cache := &templater.Cache{Vars: vertex.Taskfile.Vars}
|
||||
|
Reference in New Issue
Block a user