mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-03 00:57:52 +02:00
big golangci-lint cleanup
This commit is contained in:
main.go
pkg
commands
gui
app_status_manager.gobranches_panel.gocommit_files_panel.gocommit_message_panel.gocommits_panel.goconfirmation_panel.gocontext.gocredentials_panel.gofile_watching.gofiles_panel.gogui.gokeybindings.goline_by_line_panel.gomenu_panel.gomerge_panel.gopatch_building_panel.gorebase_options_panel.goreflog_panel.goremote_branches_panel.goremotes_panel.goreset_menu_panel.gosearching.gostaging_panel.gostash_panel.gotags_panel.gotasks_adapter.goupdates.goview_helpers.go
tasks
utils
scripts
@ -83,9 +83,7 @@ func getBindingSections(mApp *app.App) []*bindingSection {
|
||||
if len(binding.Contexts) == 0 {
|
||||
contexts = append(contexts, "")
|
||||
} else {
|
||||
for _, context := range binding.Contexts {
|
||||
contexts = append(contexts, context)
|
||||
}
|
||||
contexts = append(contexts, binding.Contexts...)
|
||||
}
|
||||
|
||||
for _, context := range contexts {
|
||||
|
Reference in New Issue
Block a user