aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/securego/gosec/v2/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/securego/gosec/v2/errors.go')
-rw-r--r--vendor/github.com/securego/gosec/v2/errors.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/securego/gosec/v2/errors.go b/vendor/github.com/securego/gosec/v2/errors.go
index a27aa5821..2f6672704 100644
--- a/vendor/github.com/securego/gosec/v2/errors.go
+++ b/vendor/github.com/securego/gosec/v2/errors.go
@@ -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 {