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/") log.Warn("TODO: check things are pushed and check every dir in go/src/")
me.deleteGoSrcPkgB.SetLabel("ARE YOU SURE?") me.deleteGoSrcPkgB.SetLabel("ARE YOU SURE?")
if me.deleteGoSrcPkgB.String() == "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 return
} }
var totals string = "All " + me.summary.totalGoOL.String() + " Repos?"
if me.deleteGoSrcPkgB.String() == "WE ARE NOT KIDDING" { if me.deleteGoSrcPkgB.String() == "WE ARE NOT KIDDING" {
me.deleteGoSrcPkgB.SetLabel("ALL 90 REPOS?") me.deleteGoSrcPkgB.SetLabel(totals)
return return
} }
if me.deleteGoSrcPkgB.String() == "ARE YOU SURE?" { if me.deleteGoSrcPkgB.String() == totals {
homeDir := me.userHomePwd.String() homeDir := me.userHomePwd.String()
fullpath := filepath.Join(homeDir, "go") fullpath := filepath.Join(homeDir, "go")
gosrc := filepath.Join(fullpath, "src") gosrc := filepath.Join(fullpath, "src")