this needs to be fixed

This commit is contained in:
Jeff Carr 2024-02-20 21:27:29 -06:00
parent e9352172ac
commit f8963c7563
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ import (
"go.wit.com/log"
)
func dumpVersions(view *repolist.RepoList) {
func DumpVersions(view *repolist.RepoList) {
f, _ := os.OpenFile("/tmp/go.wit.com.versions", os.O_WRONLY|os.O_CREATE, 0600)
defer f.Close()
for _, sec := range allsections {

View File

@ -86,7 +86,7 @@ func ListWindow(view *repolist.RepoList) *gadgets.BasicWindow {
box := lw.Box()
group := box.NewGroup("list")
group.NewButton("make new go version list", func() {
dumpVersions(view)
DumpVersions(view)
})
var lines []string