mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-29 23:17:32 +02: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…
x
Reference in New Issue
Block a user