(Stash change before switching branch)
This commit is contained in:
parent
1cdb274c4b
commit
de57745090
1 changed files with 9 additions and 7 deletions
16
main.go
16
main.go
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue