it took 5 days to fix the code so this release could be done

This commit is contained in:
Jeff Carr 2024-02-20 20:51:07 -06:00
parent e4126c886b
commit 5f8cce4e3b
1 changed files with 4 additions and 3 deletions

View File

@ -42,14 +42,15 @@ func globalResetOptions(box *gui.Node) {
log.Warn("TODO: check things are pushed and check every dir in go/src/")
me.deleteGoSrcPkgB.SetLabel("ARE YOU SURE?")
if me.deleteGoSrcPkgB.String() == "ARE YOU SURE?" {
me.deleteGoSrcPkgB.SetLabel("WE ARE NOT KIDDING?")
me.deleteGoSrcPkgB.SetLabel("WE ARE NOT KIDDING")
return
}
var totals string = "All " + me.summary.totalGoOL.String() + " Repos?"
if me.deleteGoSrcPkgB.String() == "WE ARE NOT KIDDING" {
me.deleteGoSrcPkgB.SetLabel("ALL 90 REPOS?")
me.deleteGoSrcPkgB.SetLabel(totals)
return
}
if me.deleteGoSrcPkgB.String() == "ARE YOU SURE?" {
if me.deleteGoSrcPkgB.String() == totals {
homeDir := me.userHomePwd.String()
fullpath := filepath.Join(homeDir, "go")
gosrc := filepath.Join(fullpath, "src")