diff --git a/dependency-check-cli/src/main/java/org/owasp/dependencycheck/App.java b/dependency-check-cli/src/main/java/org/owasp/dependencycheck/App.java index 7b195b7d8..dc1baa9d8 100644 --- a/dependency-check-cli/src/main/java/org/owasp/dependencycheck/App.java +++ b/dependency-check-cli/src/main/java/org/owasp/dependencycheck/App.java @@ -309,9 +309,9 @@ public class App { //Set the exit code based on whether we found a high enough vulnerability for (Dependency dep : dependencies) { if (dep.getVulnerabilities().size() != 0) { - for(Vulnerability vuln : dep.getVulnerabilities()) { + for (Vulnerability vuln : dep.getVulnerabilities()) { LOGGER.debug("VULNERABILITY FOUND " + dep.getDisplayFileName()); - if(vuln.getCvssScore() > cvssFailScore) + if (vuln.getCvssScore() > cvssFailScore) retCode = 1; } }