mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-06 03:53:59 +02:00
fix golangci lint
This commit is contained in:
parent
4d2346f80a
commit
317926c808
@ -367,11 +367,11 @@ func (gui *Gui) pushWithForceFlag(currentView *gocui.View, force bool) error {
|
|||||||
go func() {
|
go func() {
|
||||||
branchName := gui.State.Branches[0].Name
|
branchName := gui.State.Branches[0].Name
|
||||||
if err := gui.GitCommand.Push(branchName, force); err != nil {
|
if err := gui.GitCommand.Push(branchName, force); err != nil {
|
||||||
gui.createErrorPanel(gui.g, err.Error())
|
_ = gui.createErrorPanel(gui.g, err.Error())
|
||||||
} else {
|
} else {
|
||||||
gui.closeConfirmationPrompt(gui.g)
|
_ = gui.closeConfirmationPrompt(gui.g)
|
||||||
gui.refreshCommits(gui.g)
|
_ = gui.refreshCommits(gui.g)
|
||||||
gui.refreshStatus(gui.g)
|
_ = gui.refreshStatus(gui.g)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user