mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-22 04:42:37 +03:00
Modernize all codes
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...
This commit is contained in:
@@ -34,7 +34,7 @@ func (self *MenuGenerator) call(commandOutput, filter, valueFormat, labelFormat
|
||||
}
|
||||
|
||||
menuItems := []*commandMenuItem{}
|
||||
for _, line := range strings.Split(commandOutput, "\n") {
|
||||
for line := range strings.SplitSeq(commandOutput, "\n") {
|
||||
if line == "" {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user