1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Enable nolintlint linter, and fix warnings

This commit is contained in:
Stefan Haller
2025-06-30 10:40:02 +02:00
parent d9e299c1df
commit 1e92d8b7f3
5 changed files with 5 additions and 4 deletions

View File

@ -87,7 +87,7 @@ func (self *ListControllerTrait[T]) itemRangeSelected(callbacks ...func([]T, int
}
}
func (self *ListControllerTrait[T]) itemsSelected(callbacks ...func([]T) *types.DisabledReason) func() *types.DisabledReason { //nolint:unused
func (self *ListControllerTrait[T]) itemsSelected(callbacks ...func([]T) *types.DisabledReason) func() *types.DisabledReason {
return func() *types.DisabledReason {
items, _, _ := self.getSelectedItems()
if len(items) == 0 {