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:
committed by
Cosmin Cojocar
parent
e1484658ac
commit
1f689968ec
2
rule.go
2
rule.go
@ -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 {
|
||||
|
Reference in New Issue
Block a user