mirror of https://github.com/docker/compose.git
Appease linter
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
This commit is contained in:
parent
ee4ffcb5f4
commit
7e81f9e147
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue