mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
Simplify saving app state
This commit is contained in:
parent
5b567f3774
commit
ea42275f06
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue