diff --git a/commands/config/subcommands.go b/commands/config/subcommands.go index 0cdc8e1..f04a0f9 100644 --- a/commands/config/subcommands.go +++ b/commands/config/subcommands.go @@ -38,8 +38,6 @@ func creatAction(c *cli.Context) error { if err != nil { fmt.Println(err) } - fmt.Println(path) - fmt.Println(configPath) fmt.Println("Creating configuration file") if err = os.MkdirAll(path, 0770); err != nil { return err diff --git a/services/getConfigPath.go b/services/getConfigPath.go index 4970d4b..f722cab 100644 --- a/services/getConfigPath.go +++ b/services/getConfigPath.go @@ -14,7 +14,7 @@ func GetConfigPath() (path string, configPath string, err error) { case "windows": path = filepath.Dir(homeDir + "\\AppData\\Local\\kleinCommand\\") case "linux": - path = filepath.Dir(homeDir + "/.config/kleinCommand") + path = filepath.Dir(homeDir + "/.config/kleinCommand/") default: return "", "", errors.New("unsupported platform") }