(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 {
err := item.command.Wait()
if err != nil {
result += statusMsg(fmt.Sprintf("%v\n", err))
log.Fatalf("Error during Wait(): %v\n", err)
/*
for r, item := range m.choices {
if _, ok := m.selected[r]; ok {
err := item.command.Wait()
if err != nil {
result += statusMsg(fmt.Sprintf("%v\n", err))
log.Fatalf("Error during Wait(): %v\n", err)
}
}
}
}
*/
return result
}