mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-24 01:51:49 +01:00
Minor Styling
This commit is contained in:
@@ -309,9 +309,9 @@ public class App {
|
|||||||
//Set the exit code based on whether we found a high enough vulnerability
|
//Set the exit code based on whether we found a high enough vulnerability
|
||||||
for (Dependency dep : dependencies) {
|
for (Dependency dep : dependencies) {
|
||||||
if (dep.getVulnerabilities().size() != 0) {
|
if (dep.getVulnerabilities().size() != 0) {
|
||||||
for(Vulnerability vuln : dep.getVulnerabilities()) {
|
for (Vulnerability vuln : dep.getVulnerabilities()) {
|
||||||
LOGGER.debug("VULNERABILITY FOUND " + dep.getDisplayFileName());
|
LOGGER.debug("VULNERABILITY FOUND " + dep.getDisplayFileName());
|
||||||
if(vuln.getCvssScore() > cvssFailScore)
|
if (vuln.getCvssScore() > cvssFailScore)
|
||||||
retCode = 1;
|
retCode = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user