Skip to content

Commit

Permalink
remove if
Browse files Browse the repository at this point in the history
  • Loading branch information
vmaerten committed Oct 9, 2024
1 parent bf0ebfc commit fcf0025
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions taskfile/ast/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,8 @@ func (t1 *Tasks) Merge(t2 Tasks, include *Include, includedTaskfileVars *Vars) e
}
}

if !slices.Contains(include.Excludes, taskName) {
println("taskName: ", taskName)
// Add the task to the merged taskfile
t1.Set(taskName, task)
}
// Add the task to the merged taskfile
t1.Set(taskName, task)

return nil
})
Expand Down

0 comments on commit fcf0025

Please sign in to comment.