mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
Simplify saving app state
This commit is contained in:
parent
5b567f3774
commit
ea42275f06
|
|
@ -25,10 +25,7 @@ func (self *CustomCommandAction) Call() error {
|
|||
)
|
||||
}
|
||||
|
||||
err := self.c.SaveAppState()
|
||||
if err != nil {
|
||||
self.c.Log.Error(err)
|
||||
}
|
||||
self.c.SaveAppStateAndLogError()
|
||||
|
||||
self.c.LogAction(self.c.Tr.Actions.CustomCommand)
|
||||
return self.c.RunSubprocessAndRefresh(
|
||||
|
|
|
|||
Loading…
Reference in a new issue