Skip to content

Commit 85a8d11

Browse files
committed
delete old afrog-pocs folder before upgrade
1 parent 8692a1f commit 85a8d11

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

afrog-pocs/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.1
1+
0.0.2

pkg/upgrade/upgrade.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (u *Upgrade) Download() {
7979
fmt.Println(log.LogColor.Low(err.Error()))
8080
return
8181
}
82-
82+
os.RemoveAll(u.HomeDir + upPathName)
8383
utils.RandSleep(1000)
8484

8585
u.Unzip(resp.Filename)

0 commit comments

Comments
 (0)