diff options
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/env/env.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/env/env.go b/pkg/env/env.go index 31ffab03c..9c0ee79db 100644 --- a/pkg/env/env.go +++ b/pkg/env/env.go @@ -62,7 +62,8 @@ func Join(base map[string]string, override map[string]string) map[string]string // ParseFile parses the specified path for environment variables and returns them // as a map. -func ParseFile(path string) (env map[string]string, err error) { +func ParseFile(path string) (_ map[string]string, err error) { + env := make(map[string]string) defer func() { if err != nil { err = errors.Wrapf(err, "error parsing env file %q", path) |