We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 243f304 + a79a420 commit 5436d88Copy full SHA for 5436d88
1 file changed
cmd/root.go
@@ -32,7 +32,8 @@ func Execute() {
32
func init() {
33
cobra.OnInitialize(initConfig)
34
35
- cfgFile, err := util.GetConfigPath()
+ var err error
36
+ cfgFile, err = util.GetConfigPath()
37
if err != nil {
38
fmt.Println(err)
39
os.Exit(1)
0 commit comments