Преглед изворни кода

Appease linter

Signed-off-by: Christopher Crone <[email protected]>
Christopher Crone пре 5 година
родитељ
комит
7e81f9e147
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      cli/main_test.go

+ 1 - 0
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)