mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Removed impossible to achieve condition in reporters
This commit is contained in:
parent
fb7c77b419
commit
a6bf44f7cc
1 changed files with 0 additions and 4 deletions
|
|
@ -251,10 +251,6 @@ func (r *securityReporter) report(p *processor, domain *Domain) {
|
||||||
req.message(WarnType, "Performed no in-depth test of security.txt.")
|
req.message(WarnType, "Performed no in-depth test of security.txt.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if len(p.badSecurity) == 0 {
|
|
||||||
req.message(InfoType, "Found CSAF entry in security.txt.")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
req.Messages = p.badSecurity
|
req.Messages = p.badSecurity
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue