We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0108387 commit 9442a41Copy full SHA for 9442a41
pkg/golinters/nestif.go
@@ -40,7 +40,7 @@ func NewNestif() *goanalysis.Linter {
40
return nil, nil
41
}
42
43
- sort.Slice(issues, func(i, j int) bool {
+ sort.SliceStable(issues, func(i, j int) bool {
44
return issues[i].Complexity > issues[j].Complexity
45
})
46
0 commit comments