mirror of
https://github.com/go-task/task.git
synced 2025-07-15 01:35:00 +02:00
v3: Fix bug where global vars were not being considered
This commit is contained in:
@ -50,9 +50,6 @@ func (vs *Vars) Merge(other *Vars) {
|
||||
|
||||
// Set sets a value to a given key
|
||||
func (vs *Vars) Set(key string, value Var) {
|
||||
if vs == nil {
|
||||
vs = &Vars{}
|
||||
}
|
||||
if vs.Mapping == nil {
|
||||
vs.Mapping = make(map[string]Var, 1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user