From 83658b25ebfd4626f6f1f775fd05238a70f7e0f1 Mon Sep 17 00:00:00 2001 From: Hilmar Falkenberg Date: Thu, 22 Feb 2024 09:51:24 +0100 Subject: [PATCH] ignore err --- pkg/contexts/config/configutils/configure.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkg/contexts/config/configutils/configure.go b/pkg/contexts/config/configutils/configure.go index aeb25982af..b28c2a0920 100644 --- a/pkg/contexts/config/configutils/configure.go +++ b/pkg/contexts/config/configutils/configure.go @@ -23,10 +23,7 @@ func Configure(path string) error { func ConfigureContext(ctxp config.ContextProvider, path string) error { ctx := config.FromProvider(ctxp) - h, err := os.UserHomeDir() - if err != nil { - return errors.Wrapf(err, "cannot determine home directory") - } + h, _ := os.UserHomeDir() if path == "" { if h != "" { cfg := h + "/.ocmconfig"