mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
Replace ReplaceContext() with Context().Replace()
This commit is contained in:
parent
98335361fd
commit
111d10fe5c
6 changed files with 4 additions and 9 deletions
|
@ -85,7 +85,7 @@ func (self *CommitMessageController) handleNextCommit() error {
|
|||
}
|
||||
|
||||
func (self *CommitMessageController) switchToCommitDescription() error {
|
||||
if err := self.c.ReplaceContext(self.c.Contexts().CommitDescription); err != nil {
|
||||
if err := self.c.Context().Replace(self.c.Contexts().CommitDescription); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue