Skip to content

Commit

Permalink
fix: download diff before running scan
Browse files Browse the repository at this point in the history
Signed-off-by: Mykola Rudyk <m.rudyk@samsung.com>
  • Loading branch information
m-rudyk committed Mar 1, 2024
1 parent d04c45a commit b22a1ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/lpvs/service/LPVSDetectService.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void runOneScan() {

List<LPVSFile> scanResult =
this.runScan(
webhookConfig, LPVSFileUtil.getPathByPullRequest(webhookConfig));
webhookConfig, gitHubService.getPullRequestFiles(webhookConfig));

List<LPVSLicenseService.Conflict<String, String>> detectedConflicts =
licenseService.findConflicts(webhookConfig, scanResult);
Expand Down

0 comments on commit b22a1ca

Please sign in to comment.