From 7e81f9e147cba465aef54fecfa849b14f4737437 Mon Sep 17 00:00:00 2001 From: Christopher Crone Date: Mon, 18 May 2020 15:12:52 +0200 Subject: [PATCH] Appease linter Signed-off-by: Christopher Crone --- cli/main_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/main_test.go b/cli/main_test.go index a8a6c9f7d..76638e205 100644 --- a/cli/main_test.go +++ b/cli/main_test.go @@ -44,6 +44,7 @@ var contextSetConfig = []byte(`{ func TestDetermineCurrentContext(t *testing.T) { d, err := ioutil.TempDir("", "") + // nolint errcheck defer os.RemoveAll(d) require.NoError(t, err) err = ioutil.WriteFile(filepath.Join(d, config.ConfigFileName), contextSetConfig, 0644)