Skip to content

Commit

Permalink
Remove usage of slices in enum generator. (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-l-teichmann authored Dec 1, 2023
1 parent d4ef215 commit b457dc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csaf/generate_cvss_enums.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"go/format"
"log"
"os"
"slices"
"sort"
"strings"
"text/template"
)
Expand Down Expand Up @@ -135,7 +135,7 @@ func main() {
defs = append(defs, k)
}
}
slices.Sort(defs)
sort.Strings(defs)

var source bytes.Buffer

Expand Down

0 comments on commit b457dc8

Please sign in to comment.