Skip to content

Commit

Permalink
delete old afrog-pocs folder before upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
zan8in committed Apr 5, 2022
1 parent 8692a1f commit 85a8d11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion afrog-pocs/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1
0.0.2
2 changes: 1 addition & 1 deletion pkg/upgrade/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (u *Upgrade) Download() {
fmt.Println(log.LogColor.Low(err.Error()))
return
}

os.RemoveAll(u.HomeDir + upPathName)
utils.RandSleep(1000)

u.Unzip(resp.Filename)
Expand Down

0 comments on commit 85a8d11

Please sign in to comment.