Skip to content

Commit

Permalink
fix(impact-analysis): Impact Analysis report was being sent to the wr…
Browse files Browse the repository at this point in the history
…ong output directory.
  • Loading branch information
JakeMathews committed Jul 23, 2020
1 parent b8f97ce commit 47c4052
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -52,7 +52,7 @@ public Path generateReport(NameVersion projectNameVersion) throws IOException {
MethodUseAnalyzer analyzer = new MethodUseAnalyzer();
String impactAnalysisCodeLocationName = codeLocationNameManager.createImpactAnalysisCodeLocationName(directoryManager.getSourceDirectory(), projectNameVersion.getName(), projectNameVersion.getVersion(), null, null);

Path outputReportPath = analyzer.analyze(directoryManager.getSourceDirectory().toPath(), directoryManager.getBinaryOutputDirectory().toPath(), impactAnalysisCodeLocationName);
Path outputReportPath = analyzer.analyze(directoryManager.getSourceDirectory().toPath(), directoryManager.getImpactAnalysisOutputDirectory().toPath(), impactAnalysisCodeLocationName);
logger.info(String.format("Vulnerability Impact Analysis generated report at %s", outputReportPath));

return outputReportPath;
Expand Down

0 comments on commit 47c4052

Please sign in to comment.