浏览代码

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)