mirror of
https://github.com/go-task/task.git
synced 2025-06-27 00:51:05 +02:00
task: Fix merge behavior
This commit is contained in:
committed by
Andrey Nering
parent
468ff18243
commit
310394aa60
@ -38,7 +38,7 @@ func Merge(t1, t2 *Taskfile, namespaces ...string) error {
|
|||||||
if t1.Env == nil {
|
if t1.Env == nil {
|
||||||
t1.Env = make(Vars)
|
t1.Env = make(Vars)
|
||||||
}
|
}
|
||||||
for k, v := range t2.Vars {
|
for k, v := range t2.Env {
|
||||||
t1.Env[k] = v
|
t1.Env[k] = v
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user