Skip to content

Commit 0f2e606

Browse files
authored
fix: correct exhortApi.componentAnalysis call parameter (#189)
1 parent ff83734 commit 0f2e606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jboss/tools/intellij/exhort/ApiService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public AnalysisReport getComponentAnalysis(final String packageManager, final St
9292
CompletableFuture<AnalysisReport> componentReport;
9393
if ("go.mod".equals(manifestName) || "requirements.txt".equals(manifestName)) {
9494
var manifestContent = Files.readAllBytes(Paths.get(manifestPath));
95-
componentReport = exhortApi.componentAnalysis(manifestName, manifestContent);
95+
componentReport = exhortApi.componentAnalysis(manifestPath, manifestContent);
9696
} else {
9797
componentReport = exhortApi.componentAnalysis(manifestPath);
9898
}

0 commit comments

Comments
 (0)