mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-28 09:08:41 +02:00
Added error check to satisfy ci
This commit is contained in:
parent
7b850c56c4
commit
a1ee11e54e
@ -107,7 +107,9 @@ func (gui *Gui) handleRebase(g *gocui.Gui, v *gocui.View) error {
|
||||
return gui.createErrorPanel(g, gui.Tr.SLocalize("CantRebaseOntoSelf"))
|
||||
}
|
||||
if err := gui.GitCommand.RebaseBranch(selectedBranch); err != nil {
|
||||
gui.createErrorPanel(g, "Failed to rebase")
|
||||
if err := gui.createErrorPanel(g, "Failed to rebase"); err != nil {
|
||||
gui.Log.Println(err.Error())
|
||||
}
|
||||
return gui.GitCommand.AbortRebaseBranch()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user