diff options
Diffstat (limited to 'pkg/env')
-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 d2f2efade..c6a1a0d28 100644 --- a/pkg/env/env.go +++ b/pkg/env/env.go @@ -61,7 +61,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) |