mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-15 01:56:24 -04: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 a new issue