diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-19 21:34:24 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-19 21:34:24 +1000 |
commit | 317926c808fe33f8818061abb4102941d9da6b67 (patch) | |
tree | 4febaf4f76fb7ea61c42393a3147b332f419f012 /pkg | |
parent | 4d2346f80ae06ae58dc9083bd1ada50c31e396ac (diff) |
fix golangci lint
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/gui/files_panel.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index 815c65c09..5791a9d15 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -367,11 +367,11 @@ func (gui *Gui) pushWithForceFlag(currentView *gocui.View, force bool) error { go func() { branchName := gui.State.Branches[0].Name if err := gui.GitCommand.Push(branchName, force); err != nil { - gui.createErrorPanel(gui.g, err.Error()) + _ = gui.createErrorPanel(gui.g, err.Error()) } else { - gui.closeConfirmationPrompt(gui.g) - gui.refreshCommits(gui.g) - gui.refreshStatus(gui.g) + _ = gui.closeConfirmationPrompt(gui.g) + _ = gui.refreshCommits(gui.g) + _ = gui.refreshStatus(gui.g) } }() return nil |