(Stash change before switching branch)

This commit is contained in:
Adam Cooper 2022-05-18 05:14:31 -04:00
parent 1cdb274c4b
commit de57745090

16
main.go
View file

@ -112,15 +112,17 @@ func launch(m model) tea.Cmd {
} }
} }
for r, item := range m.choices { /*
if _, ok := m.selected[r]; ok { for r, item := range m.choices {
err := item.command.Wait() if _, ok := m.selected[r]; ok {
if err != nil { err := item.command.Wait()
result += statusMsg(fmt.Sprintf("%v\n", err)) if err != nil {
log.Fatalf("Error during Wait(): %v\n", err) result += statusMsg(fmt.Sprintf("%v\n", err))
log.Fatalf("Error during Wait(): %v\n", err)
}
} }
} }
} */
return result return result
} }