mirror of
https://github.com/securego/gosec.git
synced 2025-11-25 22:22:17 +02:00
Add some more tests to make codecov happy
Signed-off-by: Cosmin Cojocar <cosmin.cojocar@gmx.ch>
This commit is contained in:
@@ -97,6 +97,11 @@ func (gosec *Analyzer) SetConfig(conf Config) {
|
||||
gosec.config = conf
|
||||
}
|
||||
|
||||
// Config returns the current configuration
|
||||
func (gosec *Analyzer) Config() Config {
|
||||
return gosec.config
|
||||
}
|
||||
|
||||
// LoadRules instantiates all the rules to be used when analyzing source
|
||||
// packages
|
||||
func (gosec *Analyzer) LoadRules(ruleDefinitions map[string]RuleBuilder) {
|
||||
|
||||
Reference in New Issue
Block a user