Skip to content

Commit fcf0025

Browse files
committed
remove if
1 parent bf0ebfc commit fcf0025

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

taskfile/ast/tasks.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,8 @@ func (t1 *Tasks) Merge(t2 Tasks, include *Include, includedTaskfileVars *Vars) e
113113
}
114114
}
115115

116-
if !slices.Contains(include.Excludes, taskName) {
117-
println("taskName: ", taskName)
118-
// Add the task to the merged taskfile
119-
t1.Set(taskName, task)
120-
}
116+
// Add the task to the merged taskfile
117+
t1.Set(taskName, task)
121118

122119
return nil
123120
})

0 commit comments

Comments
 (0)