Skip to content

Commit 41c0179

Browse files
committed
remove if
1 parent bf0ebfc commit 41c0179

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

taskfile/ast/tasks.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,8 @@ func (t1 *Tasks) Merge(t2 Tasks, include *Include, includedTaskfileVars *Vars) e
112112
Include: include.Namespace,
113113
}
114114
}
115-
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-
}
115+
// Add the task to the merged taskfile
116+
t1.Set(taskName, task)
121117

122118
return nil
123119
})

0 commit comments

Comments
 (0)