Skip to content

Commit cda28d2

Browse files
committed
version 1.2.2
1 parent 5d445bd commit cda28d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/config/config.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ type Ceye struct {
3939
}
4040

4141
const afrogConfigFilename = "afrog-config.yaml"
42-
const Version = "1.2.1"
42+
const Version = "1.2.2"
4343

4444
// Create and initialize afrog-config.yaml configuration info
4545
func New() (*Config, error) {
@@ -90,7 +90,7 @@ func (c *Config) GetConfigPath() string {
9090

9191
configFile := filepath.Join(homeDir, ".config", "afrog", afrogConfigFilename)
9292
if !utils.Exists(configFile) {
93-
return ""
93+
return configFile
9494
}
9595
return configFile
9696
}

pkg/upgrade/upgrade.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (u *Upgrade) UpgradeAfrogPocs() {
6767
return
6868
}
6969
if isUp {
70-
fmt.Println(log.LogColor.Info("Downloading latest release.."))
70+
fmt.Println(log.LogColor.Info("Downloading latest release..."))
7171
u.LastestVersion = u.RemoteVersion
7272
u.Download()
7373
}

0 commit comments

Comments
 (0)