mirror of
https://github.com/go-task/task.git
synced 2026-06-29 23:55:18 +00: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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user