diff options
author | Valery Piashchynski <[email protected]> | 2022-03-23 12:48:51 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-03-23 12:48:51 +0100 |
commit | f1c4803f1d1e20516e3b6e55cf9497ad4b774c3c (patch) | |
tree | c7064f1030b65279dd23d1b1f595eaa87907668b /internal | |
parent | ce7e4a12f7ff7731c57cb7edade4d7cace7a8c1b (diff) | |
parent | 6c87237f6f5e4e442efaf57987d36d79563e6848 (diff) |
[#1067]: fix(config): incorrect pointer assign to read the configurationv2.8.5
Diffstat (limited to 'internal')
-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 { |