Skip to content

Commit

Permalink
Update taskfile/ast/taskfile.go
Browse files Browse the repository at this point in the history
fix return
  • Loading branch information
vmaerten committed Jul 1, 2024
1 parent 08e41bf commit 1becd9b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions taskfile/ast/taskfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ func (t1 *Taskfile) Merge(t2 *Taskfile, include *Include) error {
}
t1.Vars.Merge(t2.Vars, include)
t1.Env.Merge(t2.Env, include)
err := t1.Tasks.Merge(t2.Tasks, include, t1.Vars)
return err
return t1.Tasks.Merge(t2.Tasks, include, t1.Vars)
}

func (tf *Taskfile) UnmarshalYAML(node *yaml.Node) error {
Expand Down

0 comments on commit 1becd9b

Please sign in to comment.