summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-03-23 12:13:54 +0100
committerValery Piashchynski <[email protected]>2022-03-23 12:13:54 +0100
commit3442bd0bb2bcfb455a069bd4da24ed157ffeb8bd (patch)
treea5a9efba7f5388d1e1697733366b579d67b61600 /internal
parentce7e4a12f7ff7731c57cb7edade4d7cace7a8c1b (diff)
Update deps, ci
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'internal')
-rw-r--r--internal/cli/root.go2
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 {