From 3442bd0bb2bcfb455a069bd4da24ed157ffeb8bd Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 23 Mar 2022 12:13:54 +0100 Subject: Update deps, ci Signed-off-by: Valery Piashchynski --- internal/cli/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') diff --git a/internal/cli/root.go b/internal/cli/root.go index 07fc891c..f71368f1 100644 --- a/internal/cli/root.go +++ b/internal/cli/root.go @@ -47,7 +47,7 @@ func NewCommand(cmdName string) *cobra.Command { //nolint:funlen } if absPath, err := filepath.Abs(*cfgFile); err == nil { - cfgFile = &absPath // switch config path to the absolute + *cfgFile = absPath // switch config path to the absolute // force working absPath related to config file if err = os.Chdir(filepath.Dir(absPath)); err != nil { -- cgit v1.2.3