1
0
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:
Stefan Haller 2024-01-29 22:06:26 +01:00
parent 5b567f3774
commit ea42275f06

View File

@ -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(