mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-10 20:05:50 +02:00
big golangci-lint cleanup
This commit is contained in:
parent
8f68ac2129
commit
e47ad846c4
34 changed files with 141 additions and 243 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue