diff options
author | Ryooooooga <eial5q265e5@gmail.com> | 2022-10-16 09:11:54 +0900 |
---|---|---|
committer | Ryooooooga <eial5q265e5@gmail.com> | 2022-10-16 09:30:04 +0900 |
commit | 3103398e317d77f7fef4e9b66d87e118cb7b9e52 (patch) | |
tree | 25ee1648c89f90079e7ad7b1d5093550d7b3b877 /pkg/gui/controllers/stash_controller.go | |
parent | e78e829e3a8940f5b7b8f0bfc77b3316d19e1e8b (diff) |
chore: refactor rename stash
Diffstat (limited to 'pkg/gui/controllers/stash_controller.go')
-rw-r--r-- | pkg/gui/controllers/stash_controller.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/controllers/stash_controller.go b/pkg/gui/controllers/stash_controller.go index 1e4137777..68a121931 100644 --- a/pkg/gui/controllers/stash_controller.go +++ b/pkg/gui/controllers/stash_controller.go @@ -128,7 +128,7 @@ func (self *StashController) handleStashDrop(stashEntry *models.StashEntry) erro Prompt: self.c.Tr.SureDropStashEntry, HandleConfirm: func() error { self.c.LogAction(self.c.Tr.Actions.Stash) - _, err := self.git.Stash.Drop(stashEntry.Index) + err := self.git.Stash.Drop(stashEntry.Index) _ = self.c.Refresh(types.RefreshOptions{Scope: []types.RefreshableView{types.STASH}}) if err != nil { return self.c.Error(err) |