Skip to content

Commit

Permalink
Fix added bugs and inconsistencies (#192)
Browse files Browse the repository at this point in the history
Signed-off-by: Cezar Craciunoiu <[email protected]>
Approved-by: Alexander Jung <[email protected]>
  • Loading branch information
nderjung authored Jan 20, 2023
2 parents 4ff5271 + 222af7f commit f283c75
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ dist/
# Ignore vscode folder
.vscode/

# Ignore tool binaries
tools/go-generate-qemu-devices/go-generate-qemu-devices
tools/protoc-gen-go-netconn/protoc-gen-go-netconn

# Ignore swap files
*.swp
*.swo
Expand Down
Binary file not shown.
6 changes: 5 additions & 1 deletion tui/paraprogress/paraprogress.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,11 @@ func (md *ParaProgress) Update(msg tea.Msg) (tea.Model, tea.Cmd) {

if complete == len(md.processes) {
md.quitting = true
return md, tea.Sequence(tea.Batch(cmds...), tea.Quit)
batch := tea.Batch(cmds...)
if batch == nil {
return md, tea.Quit
}
return md, tea.Sequence(batch, tea.Quit)
}

return md, tea.Batch(cmds...)
Expand Down

0 comments on commit f283c75

Please sign in to comment.