mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-19 10:07:12 +01:00
minor update to the generated report names
Former-commit-id: 2319209d909b7350447c91af693f88e57e437a7e
This commit is contained in:
@@ -140,13 +140,13 @@ public class ReportGenerator {
|
|||||||
*/
|
*/
|
||||||
public void generateReports(String outputDir, Format format) throws IOException, Exception {
|
public void generateReports(String outputDir, Format format) throws IOException, Exception {
|
||||||
if (format == Format.XML || format == Format.ALL) {
|
if (format == Format.XML || format == Format.ALL) {
|
||||||
generateReport("XmlReport", outputDir + File.separator + "DependencyCheck-Report.xml");
|
generateReport("XmlReport", outputDir + File.separator + "dependency-check-report.xml");
|
||||||
}
|
}
|
||||||
if (format == Format.HTML || format == Format.ALL) {
|
if (format == Format.HTML || format == Format.ALL) {
|
||||||
generateReport("HtmlReport", outputDir + File.separator + "DependencyCheck-Report.html");
|
generateReport("HtmlReport", outputDir + File.separator + "dependency-check-report.html");
|
||||||
}
|
}
|
||||||
if (format == Format.VULN || format == Format.ALL) {
|
if (format == Format.VULN || format == Format.ALL) {
|
||||||
generateReport("VulnerabilityReport", outputDir + File.separator + "DependencyCheck-Vulnerability.html");
|
generateReport("VulnerabilityReport", outputDir + File.separator + "dependency-check-vulnerability.html");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user