1
0
mirror of https://github.com/securego/gosec.git synced 2025-07-03 00:27:05 +02:00

Fix typos in comments, vars and tests

This commit is contained in:
Oleksandr Redko
2023-05-26 18:03:54 +03:00
committed by Cosmin Cojocar
parent e1484658ac
commit 1f689968ec
12 changed files with 19 additions and 19 deletions

View File

@ -43,7 +43,7 @@ func NewRuleSet() RuleSet {
return RuleSet{make(map[reflect.Type][]Rule), make(map[string]bool)}
}
// Register adds a trigger for the supplied rule for the the
// Register adds a trigger for the supplied rule for the
// specified ast nodes.
func (r RuleSet) Register(rule Rule, isSuppressed bool, nodes ...ast.Node) {
for _, n := range nodes {