From 5a0835d5963c82275f23097ff17b41646348bb7e Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 20 Jan 2022 23:45:38 +0300 Subject: fix golangci linters warnings Signed-off-by: Valery Piashchynski --- internal/cli/root_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/cli/root_test.go b/internal/cli/root_test.go index 806669f7..602b9d3b 100644 --- a/internal/cli/root_test.go +++ b/internal/cli/root_test.go @@ -115,6 +115,7 @@ func TestCommandNoEnvFileNoError(t *testing.T) { require.NoError(t, err) f2, err := os.Create(path.Join(tmp, ".rr.yaml")) require.NoError(t, err) + defer func() { _ = f.Close() _ = f2.Close() -- cgit v1.2.3