From fd6211653c14e57370600d3295f68e2b3674ea2b Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Fri, 22 Nov 2019 12:16:46 +0100 Subject: [PATCH] More debug for findImports --- run_integration_tests.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_integration_tests.go b/run_integration_tests.go index ef3cc19d3..a71e9c424 100644 --- a/run_integration_tests.go +++ b/run_integration_tests.go @@ -477,9 +477,9 @@ func updateEnv(env []string, override map[string]string) []string { func (env *TravisEnvironment) findImports() (map[string][]string, error) { res := make(map[string][]string) + msg("checking for forbidden imports") cmd := exec.Command("go", "list", "-f", `{{.ImportPath}} {{join .Imports " "}}`, "./internal/...", "./cmd/...") - cmd.Env = updateEnv(os.Environ(), env.env) cmd.Stderr = os.Stderr output, err := cmd.Output()