Skip to content

Commit

Permalink
fix expectedPath in isInDateFolder method to append instead of prepend
Browse files Browse the repository at this point in the history
  • Loading branch information
pluckyswan committed Jan 15, 2025
1 parent 0a66321 commit ab36748
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static String createDateBasedPath(LocalDate date, String originalName) {
public static boolean isInDateFolder(String testType, String blobPath, LocalDate creationDate) {
// /GOLDEN_COPY/2021/09/01/
// /ASSERTION/2021/09/01/
String expectedPath = testType + buildDatePathPrefix(creationDate);
String expectedPath = buildDatePathPrefix(creationDate) + testType;
return blobPath.startsWith(expectedPath);
}
}

0 comments on commit ab36748

Please sign in to comment.