mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Replace CurrentStaticContext() with Context().CurrentStatic()
This commit is contained in:
parent
7ed94c0410
commit
7f935c1ea8
9 changed files with 10 additions and 15 deletions
|
@ -41,7 +41,7 @@ func (self *PatchBuildingHelper) Escape() error {
|
|||
func (self *PatchBuildingHelper) Reset() error {
|
||||
self.c.Git().Patch.PatchBuilder.Reset()
|
||||
|
||||
if self.c.CurrentStaticContext().GetKind() != types.SIDE_CONTEXT {
|
||||
if self.c.Context().CurrentStatic().GetKind() != types.SIDE_CONTEXT {
|
||||
if err := self.Escape(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue