1
0
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:
Pete Davison
2024-03-25 21:07:37 +00:00
parent 3efb437c9a
commit 54c7f35b00
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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