diff options
Diffstat (limited to 'internal/cli/root.go')
-rw-r--r-- | internal/cli/root.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |