mirror of
https://github.com/go-task/task.git
synced 2025-11-27 22:38:20 +02:00
feat: use external package for ordered maps (#1797)
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
// GetEnviron the all return all environment variables encapsulated on a
|
||||
// ast.Vars
|
||||
func GetEnviron() *ast.Vars {
|
||||
m := &ast.Vars{}
|
||||
m := ast.NewVars()
|
||||
for _, e := range os.Environ() {
|
||||
keyVal := strings.SplitN(e, "=", 2)
|
||||
key, val := keyVal[0], keyVal[1]
|
||||
|
||||
Reference in New Issue
Block a user