Skip to content

Commit

Permalink
Fixed wrong globPattern separator
Browse files Browse the repository at this point in the history
  • Loading branch information
wiauxb committed Sep 18, 2024
1 parent 96c8552 commit 4278ba5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public static void main(String[] args) {
public static List<Path> expandPath(String pattern) throws IOException {

// Extract the directory portion from the pattern
int lastSeparatorIndex = pattern.lastIndexOf(File.separator);
int lastSeparatorIndex = pattern.lastIndexOf("/");

// Determine the base path based on the last occurrence of the separator
Path basePath;
Expand Down

0 comments on commit 4278ba5

Please sign in to comment.