Skip to content

Commit

Permalink
Fix verify process function
Browse files Browse the repository at this point in the history
  • Loading branch information
FOSSLight-dev committed Oct 6, 2023
1 parent 9181691 commit 005eb14
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -668,8 +668,11 @@ public Map<String, Object> processVerification(Map<Object, Object> map, T2File f
}

if (s.startsWith(packageFileName)) {
collectDataDeCompResultList.add(s);
s = s.replace(packageFileName, "");
String removePackageFileName = s.replace(packageFileName, "");
if (removePackageFileName.startsWith("/")) {
removePackageFileName = removePackageFileName.substring(1);
}
collectDataDeCompResultList.add(removePackageFileName);

if (s.startsWith("/")) {
s = s.substring(1);
Expand Down

0 comments on commit 005eb14

Please sign in to comment.