From 0932900abb941f4365de2cb0a559c55933d4d1bc Mon Sep 17 00:00:00 2001 From: Sharif Elgamal Date: Tue, 22 Jun 2021 17:15:04 -0700 Subject: [PATCH] fix lint --- test/integration/functional_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration/functional_test.go b/test/integration/functional_test.go index 18b30d7fec..6c93c4ba85 100644 --- a/test/integration/functional_test.go +++ b/test/integration/functional_test.go @@ -1836,6 +1836,9 @@ func validateStartWithCorpProxy(ctx context.Context, t *testing.T, profile strin } mitmDir, err := ioutil.TempDir("", "") + if err != nil { + t.Fatalf("failed to create temp dir: %v", err) + } _, err = Run(t, exec.CommandContext(ctx, "tar", "xzf", "mitmproxy-6.0.2-linux.tar.gz", "-C", mitmDir)) if err != nil {