From f5bb1e567e6fc0e0771da29ba1d4f6fed4e6052b Mon Sep 17 00:00:00 2001 From: mdrakos Date: Tue, 12 Dec 2023 09:48:37 -0800 Subject: [PATCH] Remove os.Environ --- internal/testhelpers/e2e/session.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/testhelpers/e2e/session.go b/internal/testhelpers/e2e/session.go index 8e0ebb3f40..addc521e3b 100644 --- a/internal/testhelpers/e2e/session.go +++ b/internal/testhelpers/e2e/session.go @@ -173,7 +173,6 @@ func new(t *testing.T, retainDirs, updatePath bool, extraEnv ...string) *Session dirs, err := NewDirs("") require.NoError(t, err) var env []string - env = append(env, os.Environ()...) env = append(env, []string{ constants.ConfigEnvVarName + "=" + dirs.Config, constants.CacheEnvVarName + "=" + dirs.Cache,