Skip to content

Commit

Permalink
fix left side check
Browse files Browse the repository at this point in the history
  • Loading branch information
Kr0nox committed Feb 21, 2024
1 parent c8e5e90 commit f72d745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/de/jplag/reporting/FilePathUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static String joinZipPathSegments(String left, String right) {
}

String leftStripped = left;
while (leftStripped.endsWith(ZIP_PATH_SEPARATOR) || rightStripped.startsWith(WINDOWS_PATH_SEPARATOR)) {
while (leftStripped.endsWith(ZIP_PATH_SEPARATOR) || leftStripped.startsWith(WINDOWS_PATH_SEPARATOR)) {
leftStripped = leftStripped.substring(0, leftStripped.length() - 1);
}

Expand Down

0 comments on commit f72d745

Please sign in to comment.