Skip to content

Commit 4278ba5

Browse files
committed
Fixed wrong globPattern separator
1 parent 96c8552 commit 4278ba5

File tree

1 file changed

+1
-1
lines changed
  • cwaf-ontology/src/main/java/be/uclouvain/service

1 file changed

+1
-1
lines changed

cwaf-ontology/src/main/java/be/uclouvain/service/Parser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ public static void main(String[] args) {
377377
public static List<Path> expandPath(String pattern) throws IOException {
378378

379379
// Extract the directory portion from the pattern
380-
int lastSeparatorIndex = pattern.lastIndexOf(File.separator);
380+
int lastSeparatorIndex = pattern.lastIndexOf("/");
381381

382382
// Determine the base path based on the last occurrence of the separator
383383
Path basePath;

0 commit comments

Comments
 (0)