1
0
mirror of https://github.com/securego/gosec.git synced 2025-06-14 23:45:03 +02:00

Spelling fixes (#717)

This commit is contained in:
Ville Skyttä
2021-11-09 22:02:24 +02:00
committed by GitHub
parent 0680c75f99
commit f1f0056a90
5 changed files with 18 additions and 18 deletions

View File

@ -20,7 +20,7 @@ func NewError(line, column int, err string) *Error {
}
}
// sortErros sorts the golang erros by line
// sortErrors sorts the golang errors by line
func sortErrors(allErrors map[string][]Error) {
for _, errors := range allErrors {
sort.Slice(errors, func(i, j int) bool {