mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
Append ordered rules when extending (#1304)
This commit is contained in:
1 parent
6c52f878cc
commit
59c0cc7183
2 files changed
+10
-5
No files matched your search
+1
-1
@@ -55,7 +55,7 @@ func hasEmptyRules(tool Tool) bool {
|
||||
func getRules(cfg config.Config) []Rules {
|
||||
// TODO for _, rule := range cfg.Rules {
|
||||
var rules []Rules
|
||||
for _, rule := range cfg.OrderedRules() {
|
||||
for _, rule := range cfg.GetOrderedRules() {
|
||||
shortDescription := ShortDescription{
|
||||
Text: rule.Description,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user