mirror of
https://github.com/go-task/task.git
synced 2025-02-13 13:59:32 +02:00
fix: the merged task should be internal if the task OR the taskfile are internal
This commit is contained in:
parent
d3da086ebf
commit
e3b6c97c3b
@ -43,7 +43,7 @@ func Merge(t1, t2 *Taskfile, internal bool, namespaces ...string) error {
|
||||
// have serious side-effects in the future, since we're editing
|
||||
// the original references instead of deep copying them.
|
||||
|
||||
v.Internal = internal
|
||||
v.Internal = v.Internal || internal
|
||||
|
||||
t1.Tasks[taskNameWithNamespace(k, namespaces...)] = v
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user