mirror of
https://github.com/docker/compose.git
synced 2025-07-24 22:24:41 +02:00
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) {
|
func TestDetermineCurrentContext(t *testing.T) {
|
||||||
d, err := ioutil.TempDir("", "")
|
d, err := ioutil.TempDir("", "")
|
||||||
|
// nolint errcheck
|
||||||
defer os.RemoveAll(d)
|
defer os.RemoveAll(d)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
err = ioutil.WriteFile(filepath.Join(d, config.ConfigFileName), contextSetConfig, 0644)
|
err = ioutil.WriteFile(filepath.Join(d, config.ConfigFileName), contextSetConfig, 0644)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user