diff options
author | Kristijan Husak <husakkristijan@gmail.com> | 2018-10-15 11:00:19 +0200 |
---|---|---|
committer | Kristijan Husak <husakkristijan@gmail.com> | 2018-10-15 11:00:19 +0200 |
commit | c69fce2e9d28dc847ad5a4528b99682fe61762af (patch) | |
tree | 78656e59f065b6149883094f90a41c1a7cd58e3b /pkg/gui/branches_panel.go | |
parent | df0e3e52fea02950d78af5233a859f592092d475 (diff) |
Remove unnecessary nil error in NewPullRequest.
Diffstat (limited to 'pkg/gui/branches_panel.go')
-rw-r--r-- | pkg/gui/branches_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/branches_panel.go b/pkg/gui/branches_panel.go index b4ba151b5..11a4a0ebb 100644 --- a/pkg/gui/branches_panel.go +++ b/pkg/gui/branches_panel.go @@ -24,7 +24,7 @@ func (gui *Gui) handleBranchPress(g *gocui.Gui, v *gocui.View) error { func (gui *Gui) handleCreatePullRequestPress(g *gocui.Gui, v *gocui.View) error { branch := gui.getSelectedBranch(gui.getBranchesView(g)) - pullRequest, _ := commands.NewPullRequest(gui.GitCommand) + pullRequest := commands.NewPullRequest(gui.GitCommand) if err := pullRequest.Create(branch); err != nil { return gui.createErrorPanel(g, err.Error()) |